25        parent::__construct($a_title, $a_postvar);
 
   30            $a = ilOrgUnitAuthority::find(
$id);
 
   31            $data = array( 
'id' => 
$id, 
'over' => $a->getOver(), 
'scope' => $a->getScope() );
 
   33            return json_encode(
$data);
 
   43        $html = $this->render();
 
   57        if (!is_array($authorities)) {
 
   72        $this->value = $a_value;
 
   85    protected function render()
 
   87        $tpl = 
new ilTemplate(
"tpl.authority_input.html", 
true, 
true, 
"Modules/OrgUnit");
 
  106            $txt = $this->
dic()->language()->txt(
'scope_' . $scope);
 
  107            $scope_html .= 
"<option value='{$scope}'>{$txt}</option>";
 
  109        $tpl->setVariable(
"SCOPE_OPTIONS", $scope_html);
 
  113        $title = $this->
lang()->txt(
'over_' . $over_everyone);
 
  114        $over_html = 
"<option value='{$over_everyone}'>{$title}</option>";
 
  116            $over_html .= 
"<option value='{$id}'>{$title}</option>";
 
  118        $tpl->setVariable(
"OVER_OPTIONS", $over_html);
 
  132        $tpl->touchBlock(
"inline_in_bl");
 
  157            $lang->loadLanguageModule(
'orgu');
 
  174    protected function initJS()
 
  181        $globalTpl->addJavascript(
"./Modules/OrgUnit/templates/default/authority.js");
 
  182        $config = json_encode(array());
 
  184        $globalTpl->addOnLoadCode(
"ilOrgUnitAuthorityInput.init({$config}, {$data});");
 
static getArray($key=null, $values=null)
An exception for terminatinating execution or to throw for unit testing.
setVariable($variable, $value='')
Sets a variable value.
static replaceNameRenderer(Closure $closure)
special template class to simplify handling of ITX/PEAR
parseCurrentBlock($part="DEFAULT")
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt @access public.
setCurrentBlock($part="DEFAULT")
Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt.
if(!array_key_exists('StateId', $_REQUEST)) $id
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Interface for multi values support.