24 $te->setRequired(
true);
31 $m->setShowLabel(
true);
32 $m->setRenderOneForEmptyValue(
false);
39 $over_options =
array();
43 $over->setOptions($over_options);
46 $available_scopes =
array();
48 $txt = $this->
txt(
'scope_' . $scope);
49 $available_scopes[$scope] =
$txt;
53 $scopes->setOptions($available_scopes);
54 $m->addInput($scopes);
63 self::F_TITLE => $this->
object->getTitle(),
64 self::F_DESCRIPTION => $this->
object->getDescription(),
65 self::F_AUTHORITIES => $this->
object->getAuthoritiesAsArray(),
83 $this->
object->setTitle($this->
getInput(self::F_TITLE));
84 $this->
object->setDescription($this->
getInput(self::F_DESCRIPTION));
87 $ilOrgUnitAuthorities =
array();
92 $id = $authority[
"id"];
94 $ilOrgUnitAuthority->setPositionId($this->
object->getId());
95 $ilOrgUnitAuthority->setScope($authority[
"scope"]);
96 $ilOrgUnitAuthority->setOver($authority[
"over"]);
97 $ilOrgUnitAuthorities[] = $ilOrgUnitAuthority;
100 $this->
object->setAuthorities($ilOrgUnitAuthorities);
This class represents a text property in a property form.
Create styles array
The data for the language used.
Create new PHPExcel object
obj_idprivate
This class represents a text area property in a property form.
static findOrGetInstance($primary_key, array $add_constructor_args=array())
static getArray($key=null, $values=null)