function __construct($props = null) { $this->primaryKey = 'id'; if (!is_array($props)) { $props = array(); } if (!isset($props['serverIds']) || !is_array($props['serverIds'])) { $props['serverIds'] = array(); } parent::__construct($props); }
function __construct($props = null) { $this->primaryKey = 'id'; if (!is_array($props)) { $props = array('id' => null, 'title' => null, 'type' => null, 'summary' => null, 'lastSynched' => null); } if (!isset($props['serverIds']) || !is_array($props['serverIds'])) { $props['serverIds'] = array(); } parent::__construct($props); }
function __construct($props) { $this->primaryKey = 'id'; parent::__construct($props); }