Seeder\Util\Field
Class Field
Synopsis
class Field
{
- // constants
- const FT_FIELD = 'db';
- const FT_HAS_ONE = 'has_one';
- const FT_HAS_MANY = 'has_many';
- const FT_MANY_MANY = 'many_many';
- const FT_ROOT = 'root';
- // members
- public $name;
- public $parent;
- public $key;
- public array $options = ;
- public $fieldType;
- public $dataType;
- public $fieldName;
- public $methodName;
- public $provider;
- public bool $explicit = false;
- public integer $count = 1;
- public integer $totalCount = 0;
- public bool $ignore = false;
- public array $fields = ;
- public array $hasOne = ;
- public array $hasMany = ;
- public array $manyMany = ;
- public array $ancestry = ;
Constants
Name | Value |
---|---|
FT_FIELD | 'db' |
FT_HAS_ONE | 'has_one' |
FT_HAS_MANY | 'has_many' |
FT_MANY_MANY | 'many_many' |
FT_ROOT | 'root' |
Members
public
- $ancestry — array
- $count — int
- $dataType —
- $explicit — Seeder\Util\bool
- $fieldName —
- $fieldType —
- $fields — array
- $hasMany — array
- $hasOne — array
- $ignore — Seeder\Util\bool
- $key —
- $manyMany — array
- $methodName —
- $name —
- $options — array
- $parent —
- $provider —
- $totalCount — int