6 require_once(BASE.
"wcmf/lib/model/mapper/class.NodeUnifiedRDBMapper.php");
 
    7 require_once(BASE.
"application/include/model/wcmf/class.Locktable.php");
 
   52     if ($parentType == 
'UserRDB') 
return 'fk_user_id';
 
   53     if ($this->
getType() == 
'Locktable' && $parentType == 
'UserRDB') 
return 'fk_user_id';
 
   69     $nodeDef[
'_properties'] = array
 
   71       array(
'name' => 
'is_searchable', 
'value' => 
false),
 
   75     $nodeDef[
'_datadef'] = array
 
   80       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'),
 
   84       array(
'name' => 
'fk_user_id', 
'app_data_type' => 
DATATYPE_IGNORE, 
'column_name' => 
'fk_user_id', 
'db_data_type' => 
'INT(11)', 
'default' => 
'', 
'restrictions_match' => 
'', 
'restrictions_not_match' => 
'', 
'restrictions_description' => 
'', 
'is_editable' => 
false, 
'input_type' => 
'text', 
'display_type' => 
'text'),
 
   88       array(
'name' => 
'objectid', 
'app_data_type' => 
DATATYPE_ATTRIBUTE, 
'column_name' => 
'oid', 
'db_data_type' => 
'VARCHAR(255)', 
'default' => 
'', 
'restrictions_match' => 
'', 
'restrictions_not_match' => 
'', 
'restrictions_description' => 
'', 
'is_editable' => 
false, 
'input_type' => 
'text', 
'display_type' => 
'text'),
 
   92       array(
'name' => 
'sessionid', 
'app_data_type' => 
DATATYPE_ATTRIBUTE, 
'column_name' => 
'sid', 
'db_data_type' => 
'VARCHAR(255)', 
'default' => 
'', 
'restrictions_match' => 
'', 
'restrictions_not_match' => 
'', 
'restrictions_description' => 
'', 
'is_editable' => 
false, 
'input_type' => 
'text', 
'display_type' => 
'text'),
 
   96       array(
'name' => 
'since', 
'app_data_type' => 
DATATYPE_ATTRIBUTE, 
'column_name' => 
'since', 
'db_data_type' => 
'DATETIME', 
'default' => 
'', 
'restrictions_match' => 
'', 
'restrictions_not_match' => 
'', 
'restrictions_description' => 
'', 
'is_editable' => 
false, 
'input_type' => 
'text', 
'display_type' => 
'text'),
 
   98     $nodeDef[
'_ref'] = array
 
  101     $nodeDef[
'_parents'] = array
 
  103       array(
'type' => 
'UserRDB', 
'is_navigable' => 
true, 
'table_name' => 
'user', 
'pk_columns' => array(
'id'), 
'fk_columns' => 
'fk_user_id')
 
  105     $nodeDef[
'_children'] = array
 
getObjectDefinitionImpl()
 
& createObject($oid=null)
 
getMyFKColumnNameImpl($parentType)
 
NodeUnifiedRDBMapper maps Node objects to a relational database schema where each Node type has its o...