66         if (count($types) == 1) {
    71         foreach ($types as $object) {
    72             if (!$object instanceof 
Type) {
    75             $ancestorsList[] = $object->getAncestors();
    78         $lct = $ancestorsList[0][0];
    79         foreach ($ancestorsList[0] as $i => $ancestors) {
    93         $class = $ancestorsList[0][$i];
    94         foreach ($ancestorsList as $class_hierarchy) {
    95             if (count($class_hierarchy) <= $i) {
    98             if (!$class_hierarchy[$i]->
equals($class)) {
   112         foreach ($list as $value) {
   113             $valueWrapped = $this->wrapValue($value);
   114             $this->list[] = $valueWrapped;
   115             $types[] = $valueWrapped->getType();
   155         foreach ($this->
getList() as $value) {
   156             $hashes .= $value->getHash();
   173         $otherValues = $other->getList();
   175         if (count($values) !== count($otherValues)) {
   179         foreach ($values as $i => $value) {
   180             if (!$value->equals($otherValues[$i])) {
   203         if (!is_object($object)) {
   208         $class = get_class($object);
   211             $hierarchy[] = $class;
   212         } 
while (($class = get_parent_class($class)) !== 
false);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
sameClassOnLevel(array $ancestorsList, int $i)
 
unserialize($serialized)
Constructs the object http://php.net/manual/en/serializable.unserialize.php.
 
serialize()
String representation of object http://php.net/manual/en/serializable.serialize.php.
 
calculateLowestCommonType(array $types)
Todo: This implementation is not performing well (needs the most iterations) on lists with all the sa...
 
getClassHierarchy($object)