wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
class.AdodbseqRDBMapper.php
Go to the documentation of this file.
1 <?php
2 /**
3  * This file was generated by wCMFGenerator 2.6.1.0033 from cookbook1.xmi on 23.02.09 21:34.
4  * Manual modifications should be placed inside the protected regions.
5  */
6 require_once(BASE."wcmf/lib/model/mapper/class.NodeUnifiedRDBMapper.php");
7 require_once(BASE."application/include/model/wcmf/class.Adodbseq.php");
8 
9 /**
10  * @class AdodbseqRDBMapper
11  * AdodbseqRDBMapper maps Adodbseq Nodes to the database.
12  * Adodbseq description:
13  *
14  * @author <ingo@wemove.com>
15  * @version 1.0
16  */
18 {
19  /**
20  * @see RDBMapper::getType()
21  */
22  function getType()
23  {
24  return 'Adodbseq';
25  }
26  /**
27  * @see NodeRDBMapper::createObject()
28  */
29  function &createObject($oid=null)
30  {
31  return new Adodbseq($oid);
32  }
33  /**
34  * @see NodeUnifiedRDBMapper::getTableName()
35  */
36  function getTableName()
37  {
38  return 'adodbseq';
39  }
40  /**
41  * @see PersistenceMapper::getPkNames()
42  */
43  function getPkNames()
44  {
45  return array('id' => DATATYPE_IGNORE);
46  }
47  /**
48  * @see NodeUnifiedRDBMapper::getMyFKColumnNameImpl()
49  */
50  function getMyFKColumnNameImpl($parentType)
51  {
52  return '';
53  }
54  /**
55  * @see NodeUnifiedRDBMapper::getOrderBy()
56  */
57  function getOrderBy()
58  {
59  return array();
60  }
61  /**
62  * @see NodeUnifiedRDBMapper::getObjectDefinitionImpl()
63  */
65  {
66  $nodeDef = array();
67  $nodeDef['_properties'] = array
68  (
69  array('name' => 'is_searchable', 'value' => false),
70 // PROTECTED REGION ID(application/include/model/wcmf/class.AdodbseqRDBMapper.php/Properties) ENABLED START
71 // PROTECTED REGION END
72  );
73  $nodeDef['_datadef'] = array
74  (
75  /*
76  * Value description:
77  */
78  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')
79  );
80  $nodeDef['_ref'] = array
81  (
82  );
83  $nodeDef['_parents'] = array
84  (
85  );
86  $nodeDef['_children'] = array
87  (
88  );
89  return $nodeDef;
90  }
91 }
92 ?>
const DATATYPE_IGNORE
getMyFKColumnNameImpl($parentType)
NodeUnifiedRDBMapper maps Node objects to a relational database schema where each Node type has its o...