2 require_once(
'class.arConnector.php');
3 require_once(dirname(__FILE__) .
'/../Exception/class.arException.php');
60 if ($arFieldList->getPrimaryField()->getName()) {
81 foreach ($arFieldList->getFields() as
$i => $arField) {
82 if ($arField->getIndex() ===
true) {
83 if (!in_array($arField->getName(), $existing_indices)) {
244 while ($rec =
$ilDB->fetchObject($set)) {
290 $set =
$ilDB->query(self::buildQuery($arl));
292 while ($rec =
$ilDB->fetchAssoc($set)) {
308 $q = self::buildQuery($arl);
310 $set =
$ilDB->query($q);
312 return $ilDB->numRows($set);
328 $method =
'asORACLEStatement';
330 $method =
'asSQLStatement';
336 $q .=
' FROM ' . $arl->getAR()->getConnectorContainerName();
338 $q .= $arl->getArJoinCollection()->{$method}();
340 $q .= $arl->getArWhereCollection()->{$method}();
342 $q .= $arl->getArHavingCollection()->{$method}();
344 $q .= $arl->getArOrderCollection()->{$method}();
346 $q .= $arl->getArLimitCollection()->{$method}();
349 if ($arl->getDebug()) {
358 $arl->setLastQuery($q);
382 public function fixDate($value)
389 return parent::fixDate($value);
392 return parent::fixDate($value);
static getPrimaryFieldName(ActiveRecord $ar)
static getPrimaryFieldType(ActiveRecord $ar)
readSet(ActiveRecordList $arl)
updateIndices(ActiveRecord $ar)
updateDatabase(ActiveRecord $ar)
resetDatabase(ActiveRecord $ar)
checkConnection(ActiveRecord $ar)
removeField(ActiveRecord $ar, $field_name)
truncateDatabase(ActiveRecord $ar)
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
checkFieldExists(ActiveRecord $ar, $field_name)
special template class to simplify handling of ITX/PEAR
getConnectorContainerName()
renameField(ActiveRecord $ar, $old_name, $new_name)
Create styles array
The data for the language used.
affectedRows(ActiveRecordList $arl)
checkTableExists(ActiveRecord $ar)
installDatabase(ActiveRecord $ar, $fields)