【发布时间】:2013-09-04 16:23:55
【问题描述】:
我有一个要在类图中显示的数组。
protected static $config = array(
'host' => 'localhost',
'username' => '',
'password' => '',
'dbname' => ''
);
这是正确的方法吗:
$config(键:'localhost',值:'',键:'用户名',值:'',键:'密码',值:'',键:'dbname',值:'')
并在整行下划线表示静态
【问题讨论】:
标签: arrays uml associative