Closed GoogleCodeExporter closed 9 years ago
public function __construct() {} /** * public function __construct(array $array = array()){ * $this->config($array); * } */ public function config(array $array = array()){ if($array !== array()){ foreach($array as $key => $value){ if(property_exists(__CLASS__ , $key)){ $this->$key = $value; } } } }
Original issue reported on code.google.com by davidsie...@gmail.com on 4 Oct 2010 at 9:23
davidsie...@gmail.com
Nice, but not necessary feature
Original comment by joserodr...@gmail.com on 23 Dec 2010 at 1:56
joserodr...@gmail.com
Original issue reported on code.google.com by
davidsie...@gmail.com
on 4 Oct 2010 at 9:23