Home
last modified time | relevance | path

Searched refs:name (Results 1 - 25 of 97) sorted by relevance

1234

/dokuwiki/inc/Input/
H A DInput.php77 * @param string $name Parameter name
80 public function has($name)
82 return isset($this->access[$name]);
92 * @param string $name Parameter name
94 public function remove($name)
96 if (isset($this->access[$name])) {
97 unset($this->access[$name]);
100 if (isset($this->post) && isset($_POST[$name])) {
[all...]
H A DPost.php22 * @param string $name Parameter name
25 public function set($name, $value)
27 parent::set($name, $value);
28 $_REQUEST[$name] = $value;
H A DGet.php21 * @param string $name Parameter name
24 public function set($name, $value)
26 parent::set($name, $value);
27 $_REQUEST[$name] = $value;
/dokuwiki/inc/
H A Dload.php50 * @param string $name
54 function load_autoload($name){
89 if(isset($classes[$name])){
90 require ($classes[$name]);
95 $name = str_replace('\\', '/', $name); variable
98 if(substr($name, 0, 14) === 'dokuwiki/test/') {
99 $file = DOKU_INC . '_test/' . substr($name, 14) . '.php';
107 if(substr($name, 0, 16) === 'dokuwiki/plugin/') {
108 $name variable
122 $name = str_replace('/test/', '/_test/', $name); // no underscore in test namespace global() variable
[all...]
H A Dform.php17 * Every pseudo-tag must have the key '_elem' set to the name of the element.
124 * Adds a name/value pair as a hidden field.
125 * The value of the field (but not the name) will be passed to
128 * @param string $name Field name.
133 public function addHidden($name, $value)
136 unset($this->_hidden[$name]);
138 $this->_hidden[$name] = $value;
232 * @param string $name Attribute name
[all...]
/dokuwiki/inc/Debug/
H A DPropertyDeprecationHelper.php37 * List of deprecated properties, in <property name> => <class> format
38 * where <class> is the the name of the class defining the property
49 * @param string $property The name of the property.
50 * @param null $class name of the class defining the property
60 public function __get($name)
62 if (isset($this->deprecatedPublicProperties[$name])) {
63 $class = $this->deprecatedPublicProperties[$name];
64 DebugHelper::dbgDeprecatedProperty($class, $name);
65 return $this->$name;
68 $qualifiedName = get_class() . '::$' . $name;
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DFile.php21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
79 protected $name; variable
85 * @param string $name Unique ID for the cache
88 public function __construct($location, $name, $type)
91 $this->filename = $name;
93 $this->name = "$this->location/$this->filename.$this->extension"; variable
104 if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_writable($this->location))
112 return (bool) file_put_contents($this->name, $data);
124 if (file_exists($this->name)
[all...]
H A DMemcached.php21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
73 * Cache name
76 protected $name; variable
81 * @param string $name Unique ID for the cache
84 public function __construct($location, $name, $type) {
95 $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); variable
119 $data = $this->cache->get($this->name);
132 $data = $this->cache->get($this->name . '_mtime');
141 $data = $this->cache->get($this->name);
[all...]
H A DMemcache.php21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
74 * Cache name
78 protected $name; variable
84 * @param string $name Unique ID for the cache
87 public function __construct($location, $name, $type)
99 $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); variable
117 return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);
127 $data = $this->cache->get($this->name);
143 $data = $this->cache->get($this->name);
[all...]
H A DRedis.php43 * Cache name
47 protected $name; variable
60 * @param string $name Unique ID for the cache
63 public function __construct($location, $name, $options = null) {
85 $this->name = $this->options['prefix'] . $name; variable
105 $response = $this->cache->set($this->name, serialize($data));
107 $this->cache->expire($this->name, $this->options['expire']);
119 $data = $this->cache->get($this->name);
134 $data = $this->cache->get($this->name);
[all...]
/dokuwiki/inc/parser/
H A Dmetadata.php431 * @param string $link The link name
443 * @param string $name name for the link
445 public function locallink($hash, $name = null)
447 if (is_array($name)) {
448 $this->_firstimage($name['src']);
449 if ($name['type'] == 'internalmedia') {
450 $this->_recordMediaUsage($name['src']);
459 * @param string|array|null $name name fo
490 $name = $this->_getLinkTitle($name, $default, $id); global() variable
536 $name = $this->_getLinkTitle($name, $wikiUri); global() variable
673 $name = preg_replace('!.*'.$nssep.'!', '', $name); global() variable
675 $name = preg_replace('!.*#!', '', $name); global() variable
[all...]
H A Dparser.php71 public function __set($name, $value)
74 if ($name === 'Handler') {
79 if ($name === 'Lexer') {
84 $this->deprecationHelperMagicSet($name, $value);
87 public function __get($name)
89 if ($name === 'Handler') {
93 if ($name === 'Lexer') {
97 return $this->deprecationHelperMagicGet($name);
/dokuwiki/inc/Form/
H A DInputElement.php28 * @param string $name The name of this form element
31 public function __construct($type, $name, $label = '')
33 parent::__construct($type, array('name' => $name));
34 $this->attr('name', $name);
93 * The element's name could have been given as a simple string ('foo')
100 * @return array name and array key (null if not an array)
104 $name variable
107 $name = array_keys($parsed); global() variable
108 $name = array_shift($name); global() variable
[all...]
H A DElement.php53 * @param string $name Name of the attribute to access
57 public function attr($name, $value = null)
61 $this->attributes[$name] = $value;
66 if (isset($this->attributes[$name])) {
67 return $this->attributes[$name];
76 * @param string $name
79 public function rmattr($name)
81 if (isset($this->attributes[$name])) {
82 unset($this->attributes[$name]);
H A DCheckableElement.php16 * @param string $name The name of this form element
19 public function __construct($type, $name, $label)
21 parent::__construct($type, $name, $label);
32 list($name, $key) = $this->getInputName();
35 if (!$INPUT->has($name)) return;
39 $value = $INPUT->str($name);
47 $input = $INPUT->arr($name);
H A DForm.php17 * @var array name value pairs for hidden values
68 * @param string $name
72 public function setHiddenField($name, $value)
74 $this->hidden[$name] = $value;
143 * @param string $name Name of the attribute
148 public function findPositionByAttribute($name, $value, $offset = 0)
152 if ($this->elements[$pos]->attr($name) == $value) {
214 * @param string $name
219 public function addTextInput($name, $label = '', $pos = -1)
221 return $this->addElement(new InputElement('text', $name,
[all...]
H A DButtonElement.php18 * @param string $name
21 public function __construct($name, $content = '')
23 parent::__construct('button', array('name' => $name, 'value' => 1));
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DAuthor.php21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
57 * Author's name
62 var $name; variable
83 * @param string $name
87 public function __construct($name = null, $link = null, $email = null)
89 $this->name = $name; variable
106 * Author's name
112 if ($this->name !== null)
114 return $this->name;
[all...]
H A DCredit.php21 * * Neither the name of the SimplePie Team nor the names of its contributors may be used
73 * Credited name
78 var $name; variable
86 public function __construct($role = null, $scheme = null, $name = null)
90 $this->name = $name; variable
135 * Get the credited person/entity's name
141 if ($this->name !== null)
143 return $this->name;
/dokuwiki/inc/Extension/
H A DEvent.php13 /** @var string READONLY event name, objects must register against this name to see the event */
14 public $name = ''; variable
34 * @param string $name
37 public function __construct($name, &$data)
40 $this->name = $name; variable
49 return $this->name;
58 * $evt = new dokuwiki\Plugin\Doku_Event(name, data);
77 ->log($this->name
[all...]
H A DEventHandler.php43 * @param string $event string name used by the event, (incl '_before' or '_after' for triggers)
71 $evt_name = $event->name . ($advise ? '_' . $advise : '_BEFORE');
96 * @param string $name Name of the event
100 public function hasHandlerForEvent($name, $advise = '')
103 return isset($this->hooks[$name . '_' . $advise]);
106 return isset($this->hooks[$name . '_BEFORE']) || isset($this->hooks[$name . '_AFTER']);
H A DPluginInterface.php21 * base - the plugin's base name (eg. the directory it needs to be installed in)
25 * name - Name of the plugin
32 * The type of the plugin inferred from the class name
39 * The name of the plugin inferred from the class name
41 * @return string plugin name
46 * The component part of the plugin inferred from the class name
48 * @return string component name
112 * @param string $name name o
[all...]
H A DRemotePlugin.php43 $declaredin = $method->getDeclaringClass()->name;
47 $method_name = $method->name;
62 $data['name'] = $method_name;
69 $name = $parameter->name; variable
71 if (preg_match('/^@param[ \t]+([\w|\[\]]+)[ \t]\$' . $name . '/m', $doc, $m)) {
/dokuwiki/lib/plugins/extension/helper/
H A Drepository.php35 foreach ($list as $name) {
36 $cache = new Cache('##extension_manager##'.$name, '.repo');
38 if (!isset($this->loaded_extensions[$name]) &&
42 $this->loaded_extensions[$name] = true;
43 $request_data['ext'][] = $name;
95 * @param string $name The plugin name to get the data for, template names need to be prefix by 'template:'
98 public function getData($name)
100 $cache = new Cache('##extension_manager##'.$name, '.repo');
102 if (!isset($this->loaded_extensions[$name])
146 $name = $ext['plugin']; global() variable
[all...]
/dokuwiki/bin/
H A Dplugin.php70 foreach($list as $name) {
71 $plugin = $this->loadPlugin($name);
77 ['', $name, $info['desc']],
88 * @param string $name
91 protected function loadPlugin($name) {
93 $class = "cli_plugin_$name";

Completed in 25 milliseconds

1234