메소드 |
설명 |
|
__construct ( $str_kind ) |
Kind is required |
|
addBoolean ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add a boolean field to the schema |
|
addDatetime ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add a datetime field to the schema |
|
addFloat ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add a float|double field to the schema |
|
addGeopoint ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add a geopoint field to the schema |
|
addInteger ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add an integer field to the schema |
|
addProperty ( $str_name, $int_type = self::PROPERTY_STRING, boolean $bol_index = TRUE ) |
Add a field to the known field array |
|
addString ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add a string field to the schema |
|
addStringList ( $str_name, boolean $bol_index = TRUE ) : Schema |
Add a string-list (array of strings) field to the schema |
|
createEntity ( ) : Entity |
Create a new instance of this GDS Entity class |
|
getKind ( ) : string |
Get the Kind |
|
getProperties ( ) : array |
Get the configured fields |
|
setEntityClass ( $str_class ) |
Set the class to use when instantiating new Entity objects |
|