Jet\Factory_DataModel

Factory for ORM DataModel.

Method Overview

Method Meaning of
public static getPropertyDefinitionClassName(
string $type
) : string
Returns the class name of the property definition of the type.
public static setPropertyDefinitionClassName(
string $type,
string $class_name
) : void
Sets the class name of the property definition of the type.
public static getPropertyDefinitionInstance(
string $data_model_class_name,
string $name,
array $definition_data
) : DataModel_Definition_Property
Creates an instance of the property definition.
public static getModelDefinitionClassName(
string $type
) : string
Returns the class name of the model definition of the type.
public static setModelDefinitionClassName(
string $type,
string $class_name
) : void
Sets the class name of the model definition of the type.
public static getModelDefinitionInstance(
string $type,
string $class_name
) : DataModel_Definition_Model|DataModel_Definition_Model_Related
Creates an instance of the model definition.
public static getBackendConfigClassName(
string $type
) : string
Creates an instance of the model definition.
public static setBackendConfigClassName(
string $type,
string $class_name
) : void
Returns the name of the backend configuration class of the type.
public static getBackendConfigInstance(
string $type,
array $data=[]
) : DataModel_Backend_Config
Sets the name of the backend configuration class of the type.
public static getBackendClassName(
string $type
) : string
Returns the name of the backend class of the given type.
public static setBackendClassName(
string $type,
string $class_name
) : void
Sets the name of the backend class of the given type.
public static getBackendInstance(
string $type,
DataModel_Backend_Config $backend_config
) : DataModel_Backend
Creates a backend instance of the given type.
Previous chapter
Jet\Factory_Application
Next chapter
Jet\Factory_Db