Méthode | Description | |
---|---|---|
addItem ( $title, $href, $parentId, boolean $regularLink = false ) : boolean | Добавляет новый пункт меню в меню | |
attributeDescriptions ( ) : array | ||
attributeLabels ( ) : array | ||
changeItem ( $oldTitle, $newTitle, $href, $parentId, $regularLink = false ) : boolean | Метод изменения пункта меню. | |
getItems ( $code, integer $parent_id ) : array | mixed | ||
getStatus ( ) : string | ||
getStatusList ( ) : array | ||
model ( string $className = __CLASS__ ) : Menu | Returns the static model of the specified AR class. | |
relations ( ) : array | ||
rules ( ) : array | ||
scopes ( ) : array | ||
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
tableName ( ) : string |
Méthode | Description | |
---|---|---|
afterDelete ( ) | ||
afterSave ( ) |
public attributeDescriptions ( ) : array | ||
Résultat | array | customized attribute descriptions (name=>description) |
public attributeLabels ( ) : array | ||
Résultat | array | customized attribute labels (name=>label) |
public changeItem ( $oldTitle, $newTitle, $href, $parentId, $regularLink = false ) : boolean | ||
$oldTitle | string Старое название элемента (по нему осуществяется поиск) | |
$newTitle | string Новое название | |
$href | string Новая ссылка | |
$parentId | int id меню | |
$regularLink | bool Обычная ссылка | |
Résultat | boolean | статус выполнения |
public search ( ) : CActiveDataProvider | ||
Résultat | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |