6 require_once(BASE.
"wcmf/lib/model/mapper/class.NodeUnifiedRDBMapper.php");
7 require_once(BASE.
"application/include/model/wcmf/class.RoleRDB.php");
67 $nodeDef[
'_properties'] = array
69 array(
'name' =>
'is_searchable',
'value' =>
false),
70 array(
'name' =>
'display_value',
'value' =>
'name'),
74 $nodeDef[
'_datadef'] = array
79 array(
'name' =>
'id',
'app_data_type' =>
DATATYPE_IGNORE,
'column_name' =>
'id',
'db_data_type' =>
'INT(11) NOT NULL',
'default' =>
'',
'restrictions_match' =>
'',
'restrictions_not_match' =>
'',
'restrictions_description' =>
'',
'is_editable' =>
false,
'input_type' =>
'text',
'display_type' =>
'text'),
83 array(
'name' =>
'name',
'app_data_type' =>
DATATYPE_ATTRIBUTE,
'column_name' =>
'name',
'db_data_type' =>
'VARCHAR(50)',
'default' =>
'',
'restrictions_match' =>
'',
'restrictions_not_match' =>
'',
'restrictions_description' =>
'',
'is_editable' =>
true,
'input_type' =>
'text',
'display_type' =>
'text')
85 $nodeDef[
'_ref'] = array
88 $nodeDef[
'_parents'] = array
91 $nodeDef[
'_children'] = array
93 array(
'type' =>
'NMUserRole',
'minOccurs' => 0,
'maxOccurs' =>
'unbounded',
'aggregation' =>
true,
'composition' =>
true,
'is_navigable' =>
true,
'table_name' =>
'nm_user_role',
'pk_columns' => array(
'fk_user_id',
'fk_role_id'),
'fk_columns' =>
'fk_role_id',
'order_by' => array())
& createObject($oid=null)
getMyFKColumnNameImpl($parentType)
NodeUnifiedRDBMapper maps Node objects to a relational database schema where each Node type has its o...
getObjectDefinitionImpl()