public function __construct($data = null) { parent::__construct(); if ($data != null) { $this->_attributes = $data; } }