2009-02-26から1日間の記事一覧
name_obj = new Name("山田次郎"); $this->age_obj = new Age(23); } function &getInstance() { static $instance; if (is_null($instance)) { $instance = new Human(); } return $instance; } function &getNameObj() { return $this->name_obj…
name_obj = new Name("山田次郎"); $this->age_obj = new Age(23); } function &getInstance() { static $instance; if (is_null($instance)) { $instance = new Human(); } return $instance; } function &getNameObj() { return $this->name_obj…