2014年5月21日
摘要: 1.构造方法 "; } /** *有参构造方法 php5独有的 */ public function __construct($namei,$agei){//__是两个中文的下划线 $this->name=$namei;//$this代表当前对象 $this->... 阅读全文
posted @ 2014-05-21 14:42 smile小红帽 阅读(270) 评论(0) 推荐(0) 编辑