PHP Class MediaData

Author: Damian Mooyman
Inheritance: extends ViewableData, implements IMediaData
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode Description
getBasePath ( ) : string Path to protected file storage.
getPath ( )
model ( $className = __CLASS__ ) : ProtectedFile Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

getBasePath() public static méthode

Path to protected file storage.
public static getBasePath ( ) : string
Résultat string

getPath() public méthode

public getPath ( )

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : ProtectedFile
Résultat ProtectedFile the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name