Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 29) 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
800 // LDAP doesn't like NULL attributes, only set them if they have values
806 array_walk($attributes, array($this, 'encode8bit'));
808 if ($attributes["address_city"]){ $mod["l"][0]=$attributes["address_cit
[all...]
/dokuwiki/inc/Form/
H A DElement.php15 * @var array the attributes of this element
17 protected $attributes = []; variable in dokuwiki\\Form\\Element
26 * @param array $attributes
28 public function __construct($type, $attributes = []) argument
31 $this->attributes = $attributes;
48 * An empty string is returned for unset attributes.
61 $this->attributes[$name] = $value;
66 if (isset($this->attributes[$name])) {
67 return $this->attributes[
93 attrs($attributes = null) global() argument
[all...]
H A DTagCloseElement.php17 * @param array $attributes
19 public function __construct($tag, $attributes = []) argument
21 parent::__construct('tagclose', $tag, $attributes);
65 throw new \BadMethodCallException('You can\t add attributes to closing tag');
72 * @param array|null $attributes
76 public function attrs($attributes = null) argument
78 if ($attributes === null) {
81 throw new \BadMethodCallException('You can\t add attributes to closing tag');
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 = [])
23 parent::__construct($legend, $attributes);
19 __construct($legend = '', $attributes = array()) global() argument
H A DValueElement.php8 * Just like an Element but it's value is not part of its attributes
24 * @param array $attributes
26 public function __construct($type, $value, $attributes = []) argument
28 parent::__construct($type, $attributes);
H A DLegacyForm.php108 * Parses out what is the elements attributes and what is control info
115 $attributes = [];
126 $attributes[$key] = $val;
130 return [$control, $attributes];
H A DOptGroup.php95 if ($this->attributes['label'] === null) {
H A DForm.php27 * Creates a new, empty form with some default attributes
29 * @param array $attributes
32 public function __construct($attributes = [], $unsafe = false) argument
36 parent::__construct('form', $attributes);
42 $self = wl($ID, $get, false, '&'); //attributes are escaped later
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_nam
[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_name]"; }
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_hidefromlist
213 modify($distinguishedName, $attributes) global() argument
[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)
394 modify($username, $attributes, $isGUID = false) global() argument
[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=' . $pdmd . ';o=' . $org . ';s=' . $surname . ';g=' . $givenName . ';';
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_proxyaddress"=>"SMTP:" . $emailAddress,"exchange_mailnickname" => $mailNickname);
318 $mod = $this->adldap->adldap_schema($attributes);
333 * @param array $attributes An array of the AD attributes yo
336 servers($attributes = array('cn', 'distinguishedname', 'serialnumber')) global() argument
354 storageGroups($exchangeServer, $attributes = array('cn', 'distinguishedname'), $recursive = NULL) global() argument
380 storageDatabases($storageGroup, $attributes = array('cn', 'distinguishedname', 'displayname')) global() 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["containe
[all...]
/dokuwiki/lib/plugins/acl/
H A Dscript.js75 * parse URL attributes into a associative array
83 var attributes = {};
87 attributes[att[0]] = decodeURIComponent(att[1]);
89 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
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSanitize.php252 * Set element/attribute key/value pairs of HTML attributes
383 // Strip out HTML tags and attributes that might cause various security problems.
412 foreach ($this->replace_url_attributes as $element => $attributes) {
413 $this->replace_urls($document, $element, $attributes);
497 public function replace_urls($document, $tag, $attributes) argument
499 if (!is_array($attributes)) {
500 $attributes = [$attributes];
506 foreach ($attributes as $attribute) {
548 foreach ($element->attributes a
[all...]
H A DParser.php205 $attributes = [];
212 $attributes[$attrName] = $xml->value;
214 $this->tag_open(null, $tagName, $attributes);
267 public function tag_open($parser, $tag, $attributes) argument
272 foreach ($attributes as $name => $value) {
/dokuwiki/lib/plugins/authldap/
H A Dauth.php206 $sr = $this->ldapSearch($this->con, $base, $filter, $this->getConf('userscope'), $this->getConf('attributes'));
642 * @param null|array $attributes
653 $attributes = null,
657 if (is_null($attributes)) $attributes = [];
664 $attributes,
673 $attributes,
682 $attributes,
651 ldapSearch($link_identifier, $base_dn, $filter, $scope = 'sub', $attributes = null, $attrsonly = 0, $sizelimit = 0) global() argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php712 $attributes = &$this->subArray($root, $path);
714 if (is_array($attributes)) {
715 for ($i = 0; $i < count($attributes); $i++) {
716 $id = $attributes[$i]['type'];
720 if (is_array($attributes[$i]['value'])) {
721 $values = &$attributes[$i]['value'];
754 $attributes = &$this->subArray($root, $path);
756 if (is_array($attributes)) {
757 $size = count($attributes);
761 $id = $attributes[
[all...]
/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
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php108 private static $attributes;
432 self::$attributes = [
509 self::$attributes,
1133 $attributes = $this->parseAttributes($response);
1134 if (!isset($attributes['type']) && $this->version < 4) {
1137 $attributes['type'] = $fileType;
1140 $contents[$shortname] = $attributes + ['filename' => $shortname];
1142 if (isset($attributes['type']) && $attributes['type'] == NET_SFTP_TYPE_DIRECTORY && ($shortname != '.' && $shortname != '..')) {
1150 $this->update_stat_cache($temp, (object) ['lstat' => $attributes]);
328 var $attributes = array(); global() variable in phpseclib\\Net\\SFTP
[all...]

12