PHP Class OEModule\PASAPI\models\XpathRemap

Inheritance: extends BaseActiveRecordVersioned
Mostra file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
findAllByXpath ( string $xpath = '/' ) : CActiveRecord[] Simple wrapper function for getting the remaps for a specific Xpath.
model ( $className = __CLASS__ ) : PasApiAssignment 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.
tableName ( ) : string

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

findAllByXpath() public method

Simple wrapper function for getting the remaps for a specific Xpath.
public findAllByXpath ( string $xpath = '/' ) : CActiveRecord[]
$xpath string
return CActiveRecord[]

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : PasApiAssignment
return PasApiAssignment the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name