public function __construct(array $props = array()) { $this->date_publication = null; $this->date_last_update = $_SERVER['REQUEST_TIME']; $this->is_published = false; parent::__construct($props); }
public function __construct($name = null, $description = null) { parent::__construct(); $this->name = $name; $this->description = $description; }