public function __construct($record = null, $isSingleton = false, $model = null) { // Set the fields data. if (!$record) { $record = array('ID' => 0, 'ClassName' => 'DNDeployment', 'RecordClassName' => 'DNDeployment'); } parent::__construct($record, $isSingleton, $model); $this->class = 'DNDeployment'; }