Example #1
0
 /**
  * @param string $relation
  */
 public function initRelation($relation)
 {
     parent::initRelation($relation);
     if ($relation == 'info' && is_null($this->relations['info'])) {
         $options = $this->getRelationOptions($relation);
         $result = new $options['class_name']();
         $foreign_key_value = call_user_func($options['assoc_func_params_func'], $this);
         call_user_func($options['assoc_foreign_key_setter'], $result, $foreign_key_value);
         $this->relations[$relation] = $result;
     }
 }
Example #2
0
            </a>
        </td>
        <td>
            <?
            $tooltxt = _("Sichtbarkeit:") . ' ' . $user['visible'];
            $tooltxt .= "\n" . _("Domänen:") . ' ' . $user['userdomains'];
            if ($user['locked'] == '1') {
                $tooltxt .= "\n" .  _("Nutzer ist gesperrt!");
            }
            ?>
           <?php 
echo tooltipicon($tooltxt);
?>
        </td>
        <td> 
	     <? $studipUser = new AuthUserMd5($id); ?>
	     <? $userperm = $studipUser->getValue('perms'); ?>
            <?php 
echo $userperm;
?>
        </td>
        <td>
            <?php 
echo htmlReady($user['Vorname']);
?>
        </td>
        <td>
            <?php 
echo htmlReady($user['Nachname']);
?>
        </td>