常用方法
常用方法
常用方法
常用方法
/** * Добавляет поле * * @param ModuleTopic_EntityField $oField Объект поля * * @return ModuleTopic_EntityField|bool */ public function AddContentField($oField) { if ($nId = $this->oMapper->AddContentField($oField)) { $oField->setFieldId($nId); //чистим зависимые кеши E::ModuleCache()->CleanByTags(array('content_new', 'content_update', 'field_new', 'field_update')); return $oField; } return false; }