PHP Class Bravo3\Orm\Mappers\Metadata\Column

Afficher le fichier Open project: bravo3/orm Class Usage Examples

Protected Properties

Свойство Type Description
$class_name string
$getter string
$is_id boolean
$name string
$property string
$setter string
$type Bravo3\Orm\Enum\FieldType

Méthodes publiques

Méthode Description
__construct ( string $property )
getClassName ( ) : string Get object class name
getGetter ( ) : string Get Getter
getName ( ) : string Get database field name
getProperty ( ) : string Get class property name
getSetter ( ) : string Get Setter
getType ( ) : FieldType Get field type
isId ( ) : boolean Check if the column is an ID column
setClassName ( string $class_name ) Set object class name
setGetter ( string $getter ) Set Getter
setId ( boolean $is_id ) Define if the column is an ID column
setName ( string $name ) Set database field name
setProperty ( string $property ) Set class property name
setSetter ( string $setter ) Set Setter
setType ( FieldType $type ) Set field type

Method Details

__construct() public méthode

public __construct ( string $property )
$property string

getClassName() public méthode

Get object class name
public getClassName ( ) : string
Résultat string

getGetter() public méthode

Get Getter
public getGetter ( ) : string
Résultat string

getName() public méthode

Get database field name
public getName ( ) : string
Résultat string

getProperty() public méthode

Get class property name
public getProperty ( ) : string
Résultat string

getSetter() public méthode

Get Setter
public getSetter ( ) : string
Résultat string

getType() public méthode

Get field type
public getType ( ) : FieldType
Résultat Bravo3\Orm\Enum\FieldType

isId() public méthode

Check if the column is an ID column
public isId ( ) : boolean
Résultat boolean

setClassName() public méthode

Set object class name
public setClassName ( string $class_name )
$class_name string

setGetter() public méthode

Set Getter
public setGetter ( string $getter )
$getter string

setId() public méthode

Define if the column is an ID column
public setId ( boolean $is_id )
$is_id boolean

setName() public méthode

Set database field name
public setName ( string $name )
$name string

setProperty() public méthode

Set class property name
public setProperty ( string $property )
$property string

setSetter() public méthode

Set Setter
public setSetter ( string $setter )
$setter string

setType() public méthode

Set field type
public setType ( FieldType $type )
$type Bravo3\Orm\Enum\FieldType

Property Details

$class_name protected_oe property

protected string $class_name
Résultat string

$getter protected_oe property

protected string $getter
Résultat string

$is_id protected_oe property

protected bool $is_id
Résultat boolean

$name protected_oe property

protected string $name
Résultat string

$property protected_oe property

protected string $property
Résultat string

$setter protected_oe property

protected string $setter
Résultat string

$type protected_oe property

protected FieldType,Bravo3\Orm\Enum $type
Résultat Bravo3\Orm\Enum\FieldType