/** * Overrides the method in order for the control to pass if the operation key is empty, which * is the case when creating a new record. */ protected function control_record() { return $this->key ? parent::control_record() : true; }
/** * Overrides the method in order for the control to pass if the operation key is empty, which * is the case when creating a new record. */ protected function control_record() { return $this->key ? parent::control_record() : true; }