PHP Class Jarves\Admin\FieldTypes\TypeObject

Inheritance: extends AbstractType
Mostrar archivo Open project: jarves/jarves

Protected Properties

Property Type Description
$name
$objects Jarves\Objects

Public Methods

Method Description
__construct ( Objects $objects )
bootRunTime ( Object $object, Configs $configs )
getColumns ( )
getSelection ( ) : string[] Returns the field names to select from the object model as array.

Protected Methods

Method Description
defineCrossObject ( Object $objectDefinition, Configs $configs ) : boolean
defineRelation ( Object $objectDefinition, Configs $configs )
getRelation ( Configs $configs ) : RelationDefinition | null

Method Details

__construct() public method

public __construct ( Objects $objects )
$objects Jarves\Objects

bootRunTime() public method

public bootRunTime ( Object $object, Configs $configs )
$object Jarves\Configuration\Object
$configs Jarves\Configuration\Configs

defineCrossObject() protected method

protected defineCrossObject ( Object $objectDefinition, Configs $configs ) : boolean
$objectDefinition Jarves\Configuration\Object
$configs Jarves\Configuration\Configs
return boolean

defineRelation() protected method

protected defineRelation ( Object $objectDefinition, Configs $configs )
$objectDefinition Jarves\Configuration\Object
$configs Jarves\Configuration\Configs

getColumns() public method

public getColumns ( )

getRelation() protected method

protected getRelation ( Configs $configs ) : RelationDefinition | null
$configs Jarves\Configuration\Configs
return RelationDefinition | null

getSelection() public method

Returns the field names to select from the object model as array.
public getSelection ( ) : string[]
return string[]

Property Details

$name protected_oe property

protected $name

$objects protected_oe property

protected Objects,Jarves $objects
return Jarves\Objects