Method | Description | |
---|---|---|
attrCategory ( integer $id, boolean $returnAttr = false, null $index = null, integer $level = 1 ) : mixed | 分类属性 | |
attributeLabels ( ) : array | ||
getChildsId ( type $id ) : type | 获取指定id的所有后代,不含指定id | |
getMeChildsId ( mixed $id ) : array | 获得指定id的所有后代,含指定id | |
getPropArrayValues ( ) | ||
getPropCheckBoxListValues ( $label = '', $selected = '' ) | ||
getPropOptionValues ( $label = '', $selected = '' ) | ||
getPropTextFieldValues ( $label = '', $value = '' ) | ||
getPropValues ( ) | ||
model ( string $className = __CLASS__ ) : ItemProp | Returns the static model of the specified AR class. | |
relations ( ) : array | ||
rules ( ) : array | ||
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
setPropValues ( $PropValues ) | * 循环遍历SpecValue[spec_value][]插入数据库 群Zend Framework(95700611) zwp(279795206)友情提示 | |
tableName ( ) : string |
public attributeLabels ( ) : array | ||
return | array | customized attribute labels (name=>label) |
public static getChildsId ( type $id ) : type | ||
$id | type | 指定id, 有可能是array |
return | type | 所有后代id的一维数组 |
public getMeChildsId ( mixed $id ) : array | ||
$id | mixed | 指定id, 有可能是array |
return | array | 所有后代的和指定id的一维数组 |
public getPropCheckBoxListValues ( $label = '', $selected = '' ) |
public search ( ) : CActiveDataProvider | ||
return | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |
public setPropValues ( $PropValues ) |