ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilMDRequirement Class Reference
+ Inheritance diagram for ilMDRequirement:
+ Collaboration diagram for ilMDRequirement:

Public Member Functions

 ilMDRequirement ($a_rbac_id=0, $a_obj_id=0, $a_obj_type= '')
 setOrCompositeId ($a_or_composite_id)
 getOrCompositeId ()
 setOperatingSystemName ($a_val)
 getOperatingSystemName ()
 setOperatingSystemMinimumVersion ($a_val)
 getOperatingSystemMinimumVersion ()
 setOperatingSystemMaximumVersion ($a_val)
 getOperatingSystemMaximumVersion ()
 setBrowserName ($a_val)
 getBrowserName ()
 setBrowserMinimumVersion ($a_val)
 getBrowserMinimumVersion ()
 setBrowserMaximumVersion ($a_val)
 getBrowserMaximumVersion ()
 save ()
 update ()
 delete ()
 __getFields ()
 read ()
 toXML (&$writer)
 _getIds ($a_rbac_id, $a_obj_id, $a_parent_id, $a_parent_type, $a_or_composite_id=0)
 ilMDRequirement ($a_rbac_id=0, $a_obj_id=0, $a_obj_type= '')
 setOrCompositeId ($a_or_composite_id)
 getOrCompositeId ()
 setOperatingSystemName ($a_val)
 getOperatingSystemName ()
 setOperatingSystemMinimumVersion ($a_val)
 getOperatingSystemMinimumVersion ()
 setOperatingSystemMaximumVersion ($a_val)
 getOperatingSystemMaximumVersion ()
 setBrowserName ($a_val)
 getBrowserName ()
 setBrowserMinimumVersion ($a_val)
 getBrowserMinimumVersion ()
 setBrowserMaximumVersion ($a_val)
 getBrowserMaximumVersion ()
 save ()
 update ()
 delete ()
 __getFields ()
 read ()
 toXML (&$writer)
 _getIds ($a_rbac_id, $a_obj_id, $a_parent_id, $a_parent_type, $a_or_composite_id=0)
- Public Member Functions inherited from ilMDBase
 ilMDBase ($a_rbac_id=0, $a_obj_id=0, $a_type=0)
 setRBACId ($a_id)
 getRBACId ()
 setObjId ($a_id)
 getObjId ()
 setObjType ($a_type)
 getObjType ()
 setMetaId ($a_meta_id, $a_read_data=true)
 getMetaId ()
 setParentType ($a_parent_type)
 getParentType ()
 setParentId ($a_id)
 getParentId ()
 setExportMode ($a_export_mode=true)
 getExportMode ()
 validate ()
 ilMDBase ($a_rbac_id=0, $a_obj_id=0, $a_type=0)
 setRBACId ($a_id)
 getRBACId ()
 setObjId ($a_id)
 getObjId ()
 setObjType ($a_type)
 getObjType ()
 setMetaId ($a_meta_id, $a_read_data=true)
 getMetaId ()
 setParentType ($a_parent_type)
 getParentType ()
 setParentId ($a_id)
 getParentId ()
 validate ()

Additional Inherited Members

- Data Fields inherited from ilMDBase
 $rbac_id
 $obj_id
 $obj_type
 $export_mode = false

Detailed Description

Definition at line 33 of file class.ilMDRequirement.php.

Member Function Documentation

ilMDRequirement::__getFields ( )

Definition at line 174 of file class.ilMDRequirement.php.

References getBrowserMaximumVersion(), getBrowserMinimumVersion(), getBrowserName(), ilMDBase\getObjId(), ilMDBase\getObjType(), getOperatingSystemMaximumVersion(), getOperatingSystemMinimumVersion(), getOperatingSystemName(), getOrCompositeId(), ilMDBase\getParentId(), ilMDBase\getParentType(), and ilMDBase\getRBACId().

Referenced by save().

{
return array('rbac_id' => array('integer',$this->getRBACId()),
'obj_id' => array('integer',$this->getObjId()),
'obj_type' => array('text',$this->getObjType()),
'parent_type' => array('text',$this->getParentType()),
'parent_id' => array('integer',$this->getParentId()),
'operating_system_name' => array('text',$this->getOperatingSystemName()),
'os_min_version' => array('text',$this->getOperatingSystemMinimumVersion()),
'os_max_version' => array('text',$this->getOperatingSystemMaximumVersion()),
'browser_name' => array('text',$this->getBrowserName()),
'browser_minimum_version' => array('text',$this->getBrowserMinimumVersion()),
'browser_maximum_version' => array('text',$this->getBrowserMaximumVersion()),
'or_composite_id' => array('integer',$this->getOrCompositeId()));
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilMDRequirement::__getFields ( )

Definition at line 175 of file class.ilMDRequirement.php.

References getBrowserMaximumVersion(), getBrowserMinimumVersion(), getBrowserName(), ilMDBase\getObjId(), ilMDBase\getObjType(), getOperatingSystemMaximumVersion(), getOperatingSystemMinimumVersion(), getOperatingSystemName(), getOrCompositeId(), ilMDBase\getParentId(), ilMDBase\getParentType(), ilMDBase\getRBACId(), and ilUtil\prepareDBString().

{
return array('rbac_id' => $this->getRBACId(),
'obj_id' => $this->getObjId(),
'obj_type' => ilUtil::prepareDBString($this->getObjType()),
'parent_type' => $this->getParentType(),
'parent_id' => $this->getParentId(),
'operating_system_name' => ilUtil::prepareDBString($this->getOperatingSystemName()),
'operating_system_minimum_version' => ilUtil::prepareDBString($this->getOperatingSystemMinimumVersion()),
'operating_system_maximum_version' => ilUtil::prepareDBString($this->getOperatingSystemMaximumVersion()),
'browser_name' => ilUtil::prepareDBString($this->getBrowserName()),
'browser_minimum_version' => ilUtil::prepareDBString($this->getBrowserMinimumVersion()),
'browser_maximum_version' => ilUtil::prepareDBString($this->getBrowserMaximumVersion()),
'or_composite_id' => $this->getOrCompositeId());
}

+ Here is the call graph for this function:

ilMDRequirement::_getIds (   $a_rbac_id,
  $a_obj_id,
  $a_parent_id,
  $a_parent_type,
  $a_or_composite_id = 0 
)

Definition at line 251 of file class.ilMDRequirement.php.

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

{
global $ilDB;
$query = "SELECT meta_requirement_id FROM il_meta_requirement ".
"WHERE rbac_id = ".$ilDB->quote($a_rbac_id)." ".
"AND obj_id = ".$ilDB->quote($a_obj_id)." ".
"AND parent_id = ".$ilDB->quote($a_parent_id)." ".
"AND parent_type = ".$ilDB->quote($a_parent_type)." ".
"AND or_composite_id = ".$ilDB->quote($a_or_composite_id);
$res = $ilDB->query($query);
while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
{
$ids[] = $row->meta_requirement_id;
}
return $ids ? $ids : array();
}
ilMDRequirement::_getIds (   $a_rbac_id,
  $a_obj_id,
  $a_parent_id,
  $a_parent_type,
  $a_or_composite_id = 0 
)

Definition at line 254 of file class.ilMDRequirement.php.

References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.

Referenced by ilMDTechnical\getRequirementIds().

{
global $ilDB;
$query = "SELECT meta_requirement_id FROM il_meta_requirement ".
"WHERE rbac_id = ".$ilDB->quote($a_rbac_id ,'integer')." ".
"AND obj_id = ".$ilDB->quote($a_obj_id ,'integer')." ".
"AND parent_id = ".$ilDB->quote($a_parent_id ,'integer')." ".
"AND parent_type = ".$ilDB->quote($a_parent_type ,'text')." ".
"AND or_composite_id = ".$ilDB->quote($a_or_composite_id ,'integer');
$res = $ilDB->query($query);
while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
{
$ids[] = $row->meta_requirement_id;
}
return $ids ? $ids : array();
}

+ Here is the caller graph for this function:

ilMDRequirement::delete ( )

Reimplemented from ilMDBase.

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 158 of file class.ilMDRequirement.php.

References $ilDB, $query, and ilMDBase\getMetaId().

{
global $ilDB;
if($this->getMetaId())
{
$query = "DELETE FROM il_meta_requirement ".
"WHERE meta_requirement_id = ".$ilDB->quote($this->getMetaId());
$this->db->query($query);
return true;
}
return false;
}

+ Here is the call graph for this function:

ilMDRequirement::delete ( )

Reimplemented from ilMDBase.

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 159 of file class.ilMDRequirement.php.

References $ilDB, $query, $res, and ilMDBase\getMetaId().

{
global $ilDB;
if($this->getMetaId())
{
$query = "DELETE FROM il_meta_requirement ".
"WHERE meta_requirement_id = ".$ilDB->quote($this->getMetaId() ,'integer');
$res = $ilDB->manipulate($query);
return true;
}
return false;
}

+ Here is the call graph for this function:

ilMDRequirement::getBrowserMaximumVersion ( )

Definition at line 123 of file class.ilMDRequirement.php.

Referenced by __getFields(), and toXML().

{
return $this->browser_maximum_version;
}

+ Here is the caller graph for this function:

ilMDRequirement::getBrowserMaximumVersion ( )

Definition at line 123 of file class.ilMDRequirement.php.

{
return $this->browser_maximum_version;
}
ilMDRequirement::getBrowserMinimumVersion ( )

Definition at line 115 of file class.ilMDRequirement.php.

{
return $this->browser_minimum_version;
}
ilMDRequirement::getBrowserMinimumVersion ( )

Definition at line 115 of file class.ilMDRequirement.php.

Referenced by __getFields(), and toXML().

{
return $this->browser_minimum_version;
}

+ Here is the caller graph for this function:

ilMDRequirement::getBrowserName ( )

Definition at line 107 of file class.ilMDRequirement.php.

{
return $this->browser_name;
}
ilMDRequirement::getBrowserName ( )

Definition at line 107 of file class.ilMDRequirement.php.

Referenced by __getFields(), and toXML().

{
return $this->browser_name;
}

+ Here is the caller graph for this function:

ilMDRequirement::getOperatingSystemMaximumVersion ( )

Definition at line 86 of file class.ilMDRequirement.php.

Referenced by __getFields(), and toXML().

{
return $this->operating_system_maximum_version;
}

+ Here is the caller graph for this function:

ilMDRequirement::getOperatingSystemMaximumVersion ( )

Definition at line 86 of file class.ilMDRequirement.php.

{
return $this->operating_system_maximum_version;
}
ilMDRequirement::getOperatingSystemMinimumVersion ( )

Definition at line 78 of file class.ilMDRequirement.php.

Referenced by __getFields(), and toXML().

{
return $this->operating_system_minimum_version;
}

+ Here is the caller graph for this function:

ilMDRequirement::getOperatingSystemMinimumVersion ( )

Definition at line 78 of file class.ilMDRequirement.php.

{
return $this->operating_system_minimum_version;
}
ilMDRequirement::getOperatingSystemName ( )

Definition at line 70 of file class.ilMDRequirement.php.

Referenced by __getFields(), and toXML().

{
return $this->operating_system_name;
}

+ Here is the caller graph for this function:

ilMDRequirement::getOperatingSystemName ( )

Definition at line 70 of file class.ilMDRequirement.php.

{
return $this->operating_system_name;
}
ilMDRequirement::getOrCompositeId ( )

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 47 of file class.ilMDRequirement.php.

Referenced by __getFields().

{
return (int) $this->or_composite_id;
}

+ Here is the caller graph for this function:

ilMDRequirement::getOrCompositeId ( )

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 47 of file class.ilMDRequirement.php.

{
return (int) $this->or_composite_id;
}
ilMDRequirement::ilMDRequirement (   $a_rbac_id = 0,
  $a_obj_id = 0,
  $a_obj_type = '' 
)

Definition at line 35 of file class.ilMDRequirement.php.

References ilMDBase\ilMDBase().

{
parent::ilMDBase($a_rbac_id,
$a_obj_id,
$a_obj_type);
}

+ Here is the call graph for this function:

ilMDRequirement::ilMDRequirement (   $a_rbac_id = 0,
  $a_obj_id = 0,
  $a_obj_type = '' 
)

Definition at line 35 of file class.ilMDRequirement.php.

References ilMDBase\ilMDBase().

Referenced by ilMDOrComposite\addRequirement(), ilMDOrComposite\getRequirement(), ilMDOrComposite\ilMDOrComposite(), and ilMDOrComposite\toXML().

{
parent::ilMDBase($a_rbac_id,
$a_obj_id,
$a_obj_type);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilMDRequirement::read ( )

Definition at line 190 of file class.ilMDRequirement.php.

References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, ilMDBase\getMetaId(), setBrowserMaximumVersion(), setBrowserMinimumVersion(), setBrowserName(), ilMDBase\setObjId(), ilMDBase\setObjType(), setOperatingSystemMaximumVersion(), setOperatingSystemMinimumVersion(), setOperatingSystemName(), setOrCompositeId(), ilMDBase\setParentId(), ilMDBase\setParentType(), and ilMDBase\setRBACId().

{
global $ilDB;
include_once 'Services/MetaData/classes/class.ilMDLanguageItem.php';
if($this->getMetaId())
{
$query = "SELECT * FROM il_meta_requirement ".
"WHERE meta_requirement_id = ".$ilDB->quote($this->getMetaId() ,'integer');
$res = $this->db->query($query);
while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
{
$this->setRBACId($row->rbac_id);
$this->setObjId($row->obj_id);
$this->setObjType($row->obj_type);
$this->setParentId($row->parent_id);
$this->setParentType($row->parent_type);
$this->setOperatingSystemName($row->operating_system_name);
$this->setOperatingSystemMinimumVersion($row->os_min_version);
$this->setOperatingSystemMaximumVersion($row->os_max_version);
$this->setBrowserName($row->browser_name);
$this->setBrowserMinimumVersion($row->browser_minimum_version);
$this->setBrowserMaximumVersion($row->browser_maximum_version);
$this->setOrCompositeId($row->or_composite_id);
}
}
return true;
}

+ Here is the call graph for this function:

ilMDRequirement::read ( )

Definition at line 191 of file class.ilMDRequirement.php.

References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, ilMDBase\getMetaId(), setBrowserMaximumVersion(), setBrowserMinimumVersion(), setBrowserName(), ilMDBase\setObjId(), ilMDBase\setObjType(), setOperatingSystemMaximumVersion(), setOperatingSystemMinimumVersion(), setOperatingSystemName(), setOrCompositeId(), ilMDBase\setParentId(), ilMDBase\setParentType(), ilMDBase\setRBACId(), and ilUtil\stripSlashes().

{
global $ilDB;
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDLanguageItem.php';
if($this->getMetaId())
{
$query = "SELECT * FROM il_meta_requirement ".
"WHERE meta_requirement_id = ".$ilDB->quote($this->getMetaId());
$res = $this->db->query($query);
while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
{
$this->setRBACId($row->rbac_id);
$this->setObjId($row->obj_id);
$this->setObjType($row->obj_type);
$this->setParentId($row->parent_id);
$this->setParentType($row->parent_type);
$this->setOperatingSystemName(ilUtil::stripSlashes($row->operating_system_name));
$this->setOperatingSystemMinimumVersion(ilUtil::stripSlashes($row->operating_system_minimum_version));
$this->setOperatingSystemMaximumVersion(ilUtil::stripSlashes($row->operating_system_maximum_version));
$this->setBrowserName(ilUtil::stripSlashes($row->browser_name));
$this->setBrowserMinimumVersion(ilUtil::stripSlashes($row->browser_minimum_version));
$this->setBrowserMaximumVersion(ilUtil::stripSlashes($row->browser_maximum_version));
$this->setOrCompositeId(ilUtil::stripSlashes($row->or_composite_id));
}
}
return true;
}

+ Here is the call graph for this function:

ilMDRequirement::save ( )

Reimplemented from ilMDBase.

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 128 of file class.ilMDRequirement.php.

References ilMDBase\getMetaId(), and ilMDBase\setMetaId().

{
if($this->db->autoExecute('il_meta_requirement',
$this->__getFields(),
DB_AUTOQUERY_INSERT))
{
$this->setMetaId($this->db->getLastInsertId());
return $this->getMetaId();
}
return false;
}

+ Here is the call graph for this function:

ilMDRequirement::save ( )

Reimplemented from ilMDBase.

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 128 of file class.ilMDRequirement.php.

References $ilDB, __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().

{
global $ilDB;
$fields = $this->__getFields();
$fields['meta_requirement_id'] = array('integer',$next_id = $ilDB->nextId('il_meta_requirement'));
if($this->db->insert('il_meta_requirement',$fields))
{
$this->setMetaId($next_id);
return $this->getMetaId();
}
return false;
}

+ Here is the call graph for this function:

ilMDRequirement::setBrowserMaximumVersion (   $a_val)

Definition at line 119 of file class.ilMDRequirement.php.

{
$this->browser_maximum_version = $a_val;
}
ilMDRequirement::setBrowserMaximumVersion (   $a_val)

Definition at line 119 of file class.ilMDRequirement.php.

Referenced by read().

{
$this->browser_maximum_version = $a_val;
}

+ Here is the caller graph for this function:

ilMDRequirement::setBrowserMinimumVersion (   $a_val)

Definition at line 111 of file class.ilMDRequirement.php.

{
$this->browser_minimum_version = $a_val;
}
ilMDRequirement::setBrowserMinimumVersion (   $a_val)

Definition at line 111 of file class.ilMDRequirement.php.

Referenced by read().

{
$this->browser_minimum_version = $a_val;
}

+ Here is the caller graph for this function:

ilMDRequirement::setBrowserName (   $a_val)

Definition at line 90 of file class.ilMDRequirement.php.

{
switch($a_val)
{
case 'Any':
case 'NetscapeCommunicator':
case 'MS-InternetExplorer':
case 'Opera':
case 'Amaya':
case 'Mozilla':
$this->browser_name = $a_val;
return true;
default:
return false;
}
}
ilMDRequirement::setBrowserName (   $a_val)

Definition at line 90 of file class.ilMDRequirement.php.

Referenced by read().

{
switch($a_val)
{
case 'Any':
case 'NetscapeCommunicator':
case 'MS-InternetExplorer':
case 'Opera':
case 'Amaya':
case 'Mozilla':
$this->browser_name = $a_val;
return true;
default:
return false;
}
}

+ Here is the caller graph for this function:

ilMDRequirement::setOperatingSystemMaximumVersion (   $a_val)

Definition at line 82 of file class.ilMDRequirement.php.

Referenced by read().

{
$this->operating_system_maximum_version = $a_val;
}

+ Here is the caller graph for this function:

ilMDRequirement::setOperatingSystemMaximumVersion (   $a_val)

Definition at line 82 of file class.ilMDRequirement.php.

{
$this->operating_system_maximum_version = $a_val;
}
ilMDRequirement::setOperatingSystemMinimumVersion (   $a_val)

Definition at line 74 of file class.ilMDRequirement.php.

{
$this->operating_system_minimum_version = $a_val;
}
ilMDRequirement::setOperatingSystemMinimumVersion (   $a_val)

Definition at line 74 of file class.ilMDRequirement.php.

Referenced by read().

{
$this->operating_system_minimum_version = $a_val;
}

+ Here is the caller graph for this function:

ilMDRequirement::setOperatingSystemName (   $a_val)

Definition at line 53 of file class.ilMDRequirement.php.

Referenced by read().

{
switch($a_val)
{
case 'PC-DOS':
case 'MS-Windows':
case 'MacOS':
case 'Unix':
case 'Multi-OS':
case 'None':
$this->operating_system_name = $a_val;
return true;
default:
return false;
}
}

+ Here is the caller graph for this function:

ilMDRequirement::setOperatingSystemName (   $a_val)

Definition at line 53 of file class.ilMDRequirement.php.

{
switch($a_val)
{
case 'PC-DOS':
case 'MS-Windows':
case 'MacOS':
case 'Unix':
case 'Multi-OS':
case 'None':
$this->operating_system_name = $a_val;
return true;
default:
return false;
}
}
ilMDRequirement::setOrCompositeId (   $a_or_composite_id)

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 43 of file class.ilMDRequirement.php.

Referenced by read().

{
$this->or_composite_id = (int) $a_or_composite_id;
}

+ Here is the caller graph for this function:

ilMDRequirement::setOrCompositeId (   $a_or_composite_id)

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 43 of file class.ilMDRequirement.php.

{
$this->or_composite_id = (int) $a_or_composite_id;
}
ilMDRequirement::toXML ( $writer)

Reimplemented from ilMDBase.

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 226 of file class.ilMDRequirement.php.

References getBrowserMaximumVersion(), getBrowserMinimumVersion(), getBrowserName(), getOperatingSystemMaximumVersion(), getOperatingSystemMinimumVersion(), and getOperatingSystemName().

{
$writer->xmlStartTag('Requirement');
$writer->xmlStartTag('Type');
if(strlen($this->getOperatingSystemName()))
{
$writer->xmlElement('OperatingSystem',array('Name' => $this->getOperatingSystemName()
: 'None',
'MinimumVersion' => $this->getOperatingSystemMinimumVersion(),
'MaximumVersion' => $this->getOperatingSystemMaximumVersion()));
}
if(strlen($this->getBrowserName()))
{
$writer->xmlElement('Browser',array('Name' => $this->getBrowserName()
? $this->getBrowserName()
: 'Any',
'MinimumVersion' => $this->getBrowserMinimumVersion(),
'MaximumVersion' => $this->getBrowserMaximumVersion()));
}
$writer->xmlEndTag('Type');
$writer->xmlEndTag('Requirement');
}

+ Here is the call graph for this function:

ilMDRequirement::toXML ( $writer)

Reimplemented from ilMDBase.

Reimplemented in ilMDOrComposite, and ilMDOrComposite.

Definition at line 227 of file class.ilMDRequirement.php.

References getBrowserMaximumVersion(), getBrowserMinimumVersion(), getBrowserName(), getOperatingSystemMaximumVersion(), getOperatingSystemMinimumVersion(), and getOperatingSystemName().

{
$writer->xmlStartTag('Requirement');
$writer->xmlStartTag('Type');
if(strlen($this->getOperatingSystemName()))
{
$writer->xmlElement('OperatingSystem',array('Name' => $this->getOperatingSystemName(),
'MinimumVersion' => $this->getOperatingSystemMinimumVersion(),
'MaximumVersion' => $this->getOperatingSystemMaximumVersion()));
}
else
{
$writer->xmlElement('Browser',array('Name' => $this->getBrowserName(),
'MinimumVersion' => $this->getBrowserMinimumVersion(),
'MaximumVersion' => $this->getBrowserMaximumVersion()));
}
$writer->xmlEndTag('Type');
$writer->xmlEndTag('Requirement');
}

+ Here is the call graph for this function:

ilMDRequirement::update ( )

Reimplemented from ilMDBase.

Definition at line 141 of file class.ilMDRequirement.php.

References $ilDB, and ilMDBase\getMetaId().

{
global $ilDB;
if($this->getMetaId())
{
if($this->db->autoExecute('il_meta_requirement',
$this->__getFields(),
DB_AUTOQUERY_UPDATE,
"meta_requirement_id = ".$ilDB->quote($this->getMetaId())))
{
return true;
}
}
return false;
}

+ Here is the call graph for this function:

ilMDRequirement::update ( )

Reimplemented from ilMDBase.

Definition at line 143 of file class.ilMDRequirement.php.

References $ilDB, and ilMDBase\getMetaId().

{
global $ilDB;
if($this->getMetaId())
{
if($this->db->update('il_meta_requirement',
$this->__getFields(),
array("meta_requirement_id" => array('integer',$this->getMetaId()))))
{
return true;
}
}
return false;
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: