/** * Constructor * * @param array|object $data * @param Tools_Model_RedirectLogGateway $gateway * @return void */ public function __construct($data, $options = null) { if (is_string($data)) { if (!$this->fetch($data)) { throw new FFR_Model_Exception('Could not load redirect log entry from provided data'); } $this->setOptions($options); return; } parent::__construct($data, $options); }
/** * Constructor * * @param array|object $data * @param Clients_Model_ClientEmploymentGateway $gateway * @return void */ public function __construct($data, $options = null) { parent::__construct($data, $options); }