ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.arConnector.php
Go to the documentation of this file.
1 <?php
2 
12 abstract class arConnector
13 {
14 
18  abstract public function nextID(ActiveRecord $ar);
19 
20 
24  abstract public function checkConnection(ActiveRecord $ar);
25 
26 
31  abstract public function installDatabase(ActiveRecord $ar, $fields);
32 
33 
37  abstract public function updateDatabase(ActiveRecord $ar);
38 
39 
43  abstract public function resetDatabase(ActiveRecord $ar);
44 
45 
49  abstract public function truncateDatabase(ActiveRecord $ar);
50 
51 
55  abstract public function checkTableExists(ActiveRecord $ar);
56 
57 
62  abstract public function checkFieldExists(ActiveRecord $ar, $field_name);
63 
64 
69  abstract public function removeField(ActiveRecord $ar, $field_name);
70 
71 
77  abstract public function renameField(ActiveRecord $ar, $old_name, $new_name);
78 
79 
83  abstract public function create(ActiveRecord $ar);
84 
85 
89  abstract public function read(ActiveRecord $ar);
90 
91 
95  abstract public function update(ActiveRecord $ar);
96 
97 
101  abstract public function delete(ActiveRecord $ar);
102 
103 
107  abstract public function readSet(ActiveRecordList $arl);
108 
109 
115  abstract public function affectedRows(ActiveRecordList $arl);
116 
117 
124  abstract public function quote($value, $type);
125 
126 
130  abstract public function updateIndices(ActiveRecord $ar);
131 
132 
137  public function fixDate($value)
138  {
139  return $value;
140  }
141 }
renameField(ActiveRecord $ar, $old_name, $new_name)
readSet(ActiveRecordList $arl)
quote($value, $type)
$type
Class ActiveRecord.
checkFieldExists(ActiveRecord $ar, $field_name)
resetDatabase(ActiveRecord $ar)
Class ActiveRecordList.
removeField(ActiveRecord $ar, $field_name)
Class arConnector.
checkConnection(ActiveRecord $ar)
update(ActiveRecord $ar)
updateIndices(ActiveRecord $ar)
nextID(ActiveRecord $ar)
updateDatabase(ActiveRecord $ar)
installDatabase(ActiveRecord $ar, $fields)
checkTableExists(ActiveRecord $ar)
truncateDatabase(ActiveRecord $ar)
read(ActiveRecord $ar)
create(ActiveRecord $ar)
affectedRows(ActiveRecordList $arl)