/** * @see parent::checkOptions() */ function checkOptions() { parent::checkOptions(); if ($this->default === null) { $this->default = self::$_default_no ? 0 : ""; } }
/** * @see parent::checkOptions() */ function checkOptions() { parent::checkOptions(); if (!$this->list) { CModelObject::warning("CEnumSpec-list-missing-for-field-fieldName%s-of-class-className%s", $this->fieldName, $this->className); } }