PHP Класс ngresttest\models\Table

File has been created with crud/create command on LUYA version 1.0.0-RC2-dev.
Наследование: extends luya\admin\ngrest\base\NgRestModel
Показать файл Открыть проект

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

Метод Описание
attributeLabels ( )
genericSearchFields ( ) : array
ngRestApiEndpoint ( ) : string
ngRestAttributeTypes ( ) : array
ngRestConfig ( luya\admin\ngrest\ConfigBuilder $config ) : luya\admin\ngrest\ConfigBuilder Define the NgRestConfig for this model with the ConfigBuilder object.
rules ( )
scenarios ( )
tableName ( )

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

attributeLabels() публичный метод

public attributeLabels ( )

genericSearchFields() публичный метод

public genericSearchFields ( ) : array
Результат array An array containing all field which can be lookedup during the admin search process.

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

public static ngRestApiEndpoint ( ) : string
Результат string Defines the api endpoint for the angular calls

ngRestAttributeTypes() публичный метод

public ngRestAttributeTypes ( ) : array
Результат array An array define the field types of each field

ngRestConfig() публичный метод

Define the NgRestConfig for this model with the ConfigBuilder object.
public ngRestConfig ( luya\admin\ngrest\ConfigBuilder $config ) : luya\admin\ngrest\ConfigBuilder
$config luya\admin\ngrest\ConfigBuilder The current active config builder object.
Результат luya\admin\ngrest\ConfigBuilder

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

public rules ( )

scenarios() публичный метод

public scenarios ( )

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

public static tableName ( )