Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 34) sorted by relevance

12

/dokuwiki/lib/plugins/authad/adLDAP/
H A DadLDAP.php742 * @param array $attributes The attributes you wish to query e.g. defaultnamingcontext
745 public function getRootDse($attributes = array("*", "+")) { argument
748 $sr = @ldap_read($this->ldapConnection, NULL, 'objectClass=*', $attributes);
795 * @param array $attributes Attributes to be queried
798 public function adldap_schema($attributes){ argument
806 array_walk($attributes, array($this, 'encode8bit'));
808 if ($attributes["address_city"]){ $mod["l"][0]=$attributes["address_city"]; }
809 if ($attributes["address_code"]){ $mod["postalCode"][0]=$attributes["address_code"]; }
811 if ($attributes["address_country"]){ $mod["c"][0]=$attributes["address_country"]; }
812 if ($attributes["address_pobox"]){ $mod["postOfficeBox"][0]=$attributes["address_pobox"]; }
[all …]
/dokuwiki/inc/Form/
H A DElement.php17 protected $attributes = []; variable in dokuwiki\\Form\\Element
26 * @param array $attributes
28 public function __construct($type, $attributes = []) argument
31 $this->attributes = $attributes;
61 $this->attributes[$name] = $value;
66 if (isset($this->attributes[$name])) {
67 return $this->attributes[$name];
81 if (isset($this->attributes[$name])) {
82 unset($this->attributes[$name]);
90 * @param array|null $attributes
[all …]
H A DTagCloseElement.php17 * @param array $attributes
19 public function __construct($tag, $attributes = []) argument
21 parent::__construct('tagclose', $tag, $attributes);
72 * @param array|null $attributes
76 public function attrs($attributes = null) argument
78 if ($attributes === null) {
H A DFieldsetCloseElement.php15 * @param array $attributes
17 public function __construct($attributes = []) argument
19 parent::__construct('', $attributes);
H A DTagElement.php16 * @param array $attributes
18 public function __construct($tag, $attributes = []) argument
20 parent::__construct('tag', $tag, $attributes);
H A DTagOpenElement.php17 * @param array $attributes
19 public function __construct($tag, $attributes = []) argument
21 parent::__construct('tagopen', $tag, $attributes);
H A DFieldsetOpenElement.php16 * @param array $attributes
18 public function __construct($legend = '', $attributes = []) argument
23 parent::__construct($legend, $attributes);
H A DValueElement.php24 * @param array $attributes
26 public function __construct($type, $value, $attributes = []) argument
28 parent::__construct($type, $attributes);
H A DLegacyForm.php115 $attributes = [];
126 $attributes[$key] = $val;
130 return [$control, $attributes];
H A DOptGroup.php95 if ($this->attributes['label'] === null) {
H A DForm.php29 * @param array $attributes
32 public function __construct($attributes = [], $unsafe = false) argument
36 parent::__construct('form', $attributes);
H A DDropdownElement.php113 if (isset($this->attributes['multiple'])) {
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPFolders.php148 * @param array $attributes Default attributes of the ou
151 public function create($attributes) argument
153 if (!is_array($attributes)){ return "Attributes must be an array"; }
154 if (!is_array($attributes["container"])) { return "Container attribute must be an array."; }
155 … if (!array_key_exists("ou_name",$attributes)) { return "Missing compulsory field [ou_name]"; }
156 … if (!array_key_exists("container",$attributes)) { return "Missing compulsory field [container]"; }
158 $attributes["container"] = array_reverse($attributes["container"]);
162 $add["OU"] = $attributes['ou_name'];
164 if (count($attributes['container']) > 0) {
165 $containers = "OU=" . implode(",OU=", $attributes["container"]) . ",";
[all …]
H A DadLDAPContacts.php62 * @param array $attributes The attributes to set to the contact
65 public function create($attributes) argument
68 …if (!array_key_exists("display_name", $attributes)) { return "Missing compulsory field [display_na…
69 if (!array_key_exists("email", $attributes)) { return "Missing compulsory field [email]"; }
70 …if (!array_key_exists("container", $attributes)) { return "Missing compulsory field [container]"; }
71 if (!is_array($attributes["container"])) { return "Container attribute must be an array."; }
74 $add = $this->adldap->adldap_schema($attributes);
77 $add["cn"][0] = $attributes["display_name"];
82 if (!isset($attributes['exchange_hidefromlists'])) {
87 $attributes["container"] = array_reverse($attributes["container"]);
[all …]
H A DadLDAPUsers.php74 * @param array $attributes The attributes to set to the user account
77 public function create($attributes) argument
80 … if (!array_key_exists("username", $attributes)){ return "Missing compulsory field [username]"; }
81 … if (!array_key_exists("firstname", $attributes)){ return "Missing compulsory field [firstname]"; }
82 … if (!array_key_exists("surname", $attributes)){ return "Missing compulsory field [surname]"; }
83 if (!array_key_exists("email", $attributes)){ return "Missing compulsory field [email]"; }
84 … if (!array_key_exists("container", $attributes)){ return "Missing compulsory field [container]"; }
85 if (!is_array($attributes["container"])){ return "Container attribute must be an array."; }
87 …if (array_key_exists("password",$attributes) && (!$this->adldap->getUseSSL() && !$this->adldap->ge…
91 if (!array_key_exists("display_name", $attributes)) {
[all …]
H A DadLDAPExchange.php85 $attributes = array(
91 $result = $this->adldap->user()->modify($username, $attributes, $isGUID);
125 …$attributes['exchange_proxyaddress'] = $proxyValue . 'c=' . $country . ';a=' . $admd . ';p=' . $pd…
128 $add = $this->adldap->adldap_schema($attributes);
189 $attributes['exchange_proxyaddress'] = $proxyValue . $emailAddress;
192 $add = $this->adldap->adldap_schema($attributes);
315 …$attributes = array("email"=>$emailAddress,"contact_email"=>"SMTP:" . $emailAddress,"exchange_prox…
318 $mod = $this->adldap->adldap_schema($attributes);
333 * @param array $attributes An array of the AD attributes you wish to return
336 public function servers($attributes = array('cn','distinguishedname','serialnumber')) argument
[all …]
H A DadLDAPGroups.php158 * @param array $attributes Default attributes of the group
161 public function create($attributes) argument
163 if (!is_array($attributes)){ return "Attributes must be an array"; }
164 …if (!array_key_exists("group_name", $attributes)){ return "Missing compulsory field [group_name]";…
165 … if (!array_key_exists("container", $attributes)){ return "Missing compulsory field [container]"; }
166 …if (!array_key_exists("description", $attributes)){ return "Missing compulsory field [description]…
167 if (!is_array($attributes["container"])){ return "Container attribute must be an array."; }
168 $attributes["container"] = array_reverse($attributes["container"]);
175 $add["cn"] = $attributes["group_name"];
176 $add["samaccountname"] = $attributes["group_name"];
[all …]
/dokuwiki/lib/plugins/acl/
H A Dscript.js83 var attributes = {};
87 attributes[att[0]] = decodeURIComponent(att[1]);
89 return attributes;
/dokuwiki/lib/plugins/extension/
H A DGuiExtension.php416 $attributes = [
425 $attributes['rel'] .= ' ugc nofollow';
429 $attributes['class'] = 'interwiki iw_doku';
430 $attributes['target'] = $conf['target']['interwiki'];
431 $attributes['rel'] = '';
434 $attributes['class'] .= ' ' . $class;
435 return $attributes;
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php2459 … $attributes = ' style="' . $this->language_data['STYLES']['SCRIPT'][$script_key] . '"';
2461 $attributes = ' class="sc' . $script_key . '"';
2463 $result .= "<span$attributes>";
2464 $STRICTATTRS = $attributes;
2861 … $attributes = ' style="' . $this->language_data['STYLES']['COMMENTS'][$comment['key']] . '"';
2863 $attributes = ' class="co' . $comment['key'] . '"';
2866 $test_str = "<span$attributes>" . $test_str . "</span>";
2872 "\n", "</span>\n<span$attributes>",
2928 … $attributes = ' style="' . $this->language_data['STYLES']['COMMENTS']['MULTI'] . '"';
2930 $attributes = ' class="coMULTI"';
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSanitize.php411 foreach ($this->replace_url_attributes as $element => $attributes) {
412 $this->replace_urls($document, $element, $attributes);
496 public function replace_urls($document, $tag, $attributes) argument
498 if (!is_array($attributes)) {
499 $attributes = [$attributes];
505 foreach ($attributes as $attribute) {
547 foreach ($element->attributes as $name => $attr) {
H A DParser.php203 $attributes = [];
210 $attributes[$attrName] = $xml->value;
212 $this->tag_open(null, $tagName, $attributes);
265 public function tag_open($parser, $tag, $attributes) argument
270 foreach ($attributes as $name => $value) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php707 $attributes = &$this->subArray($root, $path);
709 if (is_array($attributes)) {
710 for ($i = 0; $i < count($attributes); $i++) {
711 $id = $attributes[$i]['type'];
715 if (is_array($attributes[$i]['value'])) {
716 $values = &$attributes[$i]['value'];
749 $attributes = &$this->subArray($root, $path);
751 if (is_array($attributes)) {
752 $size = count($attributes);
756 $id = $attributes[$i]['type'];
[all …]
/dokuwiki/lib/plugins/authldap/
H A Dauth.php650 * @param null|array $attributes
661 $attributes = null, argument
665 if (is_null($attributes)) $attributes = [];
672 $attributes,
681 $attributes,
690 $attributes,
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A DREADME.md137 intelligent auto-truncating of RSS 0.91 attributes
138 don't create some attributes when they're not set
145 now includes most RSS 0.91 attributes

12