PHP Класс MediaData

Автор: Damian Mooyman
Наследование: extends ViewableData, implements IMediaData
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

getBasePath() публичный статический Метод

Path to protected file storage.
public static getBasePath ( ) : string
Результат string

getPath() публичный Метод

public getPath ( )

model() публичный статический Метод

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : ProtectedFile
Результат ProtectedFile the static model class

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.

rules() публичный Метод

public rules ( ) : array
Результат array validation rules for model attributes.

tableName() публичный Метод

public tableName ( ) : string
Результат string the associated database table name