Property | Type | Description | |
---|---|---|---|
$attribute | attribute name. | ||
$model | ActiveRecord to be updated. |
Method | Description | |
---|---|---|
getSelector ( ) : null | string | Returns selector | |
init ( ) | initialization of widget | |
isMongo ( mixed $model ) : boolean | Checks is model is instance of mongo model see: http://www.yiiframework.com/extension/yiimongodbsuite | |
resolveModels ( mixed $model, mixed $attribute ) : array | Resolves model and returns array of values: - staticModel: static class of model, need for checki safety of attribute - real model: containing attribute. Can be null - attribute: it will be without dots for activerecords |
public getSelector ( ) : null | string | ||
return | null | string |