Свойство | Тип | Описание | |
---|---|---|---|
$name | string | Table name |
Метод | Описание | |
---|---|---|
delete ( ) : boolean | Delete view model | |
fromArray ( array $array ) : |
Initiliaze from array | |
fromId ( integer $viewId ) : |
Initiliaze from id | |
fromIdentifier ( string $identifier ) : |
Initiliaze from identifier | |
getContent ( ) : string | Return file contents | |
getFilePath ( ) : string | Return file path | |
init ( integer $id = null ) : |
Initiliaze | |
save ( ) : integer | Save view model |
public static fromIdentifier ( string $identifier ) : |
||
$identifier | string | Identifier |
Результат |