Home
last modified time | relevance | path

Searched refs:class (Results 1 - 25 of 42) sorted by relevance

12

/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DRegistry.php51 class SimplePie_Registry
54 * Default class mapping
106 * Register a class
109 * @param string $class Class name, must subclass the corresponding default
110 * @param bool $legacy Whether to enable legacy support for this class
113 public function register($type, $class, $legacy = false)
115 if (!@is_subclass_of($class, $this->default[$type]))
120 $this->classes[$type] = $class;
124 $this->legacy[] = $class;
131 * Get the class registere
161 $class = $this->get_class($type); global() variable
203 $class = $this->get_class($type); global() variable
[all...]
H A DCache.php47 * This class can be overloaded with {@see SimplePie::set_cache_class()},
54 class SimplePie_Cache
89 $class = self::$handlers[$type]; variable
90 return new $class($location, $filename, $extension);
111 * @param string $class Name of handler class. Must implement SimplePie_Cache_Base
113 public static function register($type, $class)
115 self::$handlers[$type] = $class;
/dokuwiki/inc/Menu/
H A DAbstractMenu.php15 abstract class AbstractMenu implements MenuInterface {
57 foreach($this->types as $class) {
59 $class = "\\dokuwiki\\Menu\\Item\\$class"; variable
61 $item = new $class();
76 * @param string|false $classprefix create a class from type with this prefix, false for no class
84 $class = ' class="' . $classprefix . $item->getType() . '"'; variable
86 $class variable
[all...]
/dokuwiki/vendor/simplepie/simplepie/
H A Dautoloader.php54 * Autoloader class
59 class SimplePie_Autoloader
72 * @param string $class The name of the class to attempt to load.
74 public function autoload($class)
76 // Only load the class if it starts with "SimplePie"
77 if (strpos($class, 'SimplePie') !== 0)
82 $filename = $this->path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
/dokuwiki/vendor/composer/
H A DClassLoader.php16 * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
30 * In this example, if you try to use a class in the Symfony\Component
32 * the autoloader will first look for the class under the component/
36 * This class is loosely based on the Symfony UniversalClassLoader.
43 class ClassLoader
234 * Turns on searching the include path for class files.
256 * that have not been registered with the class map.
266 * Should class lookup fail if not found in the current class map?
314 * Loads the given class o
[all...]
H A Dautoload_real.php5 class ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b
9 public static function loadClassLoader($class)
11 if ('Composer\Autoload\ClassLoader' === $class) {
/dokuwiki/inc/Debug/
H A DPropertyDeprecationHelper.php19 * class Foo {
37 * List of deprecated properties, in <property name> => <class> format
38 * where <class> is the the name of the class defining the property
50 * @param null $class name of the class defining the property
55 $class = null variable
57 $this->deprecatedPublicProperties[$property] = $class ?: get_class();
63 $class = $this->deprecatedPublicProperties[$name]; variable
64 DebugHelper::dbgDeprecatedProperty($class,
82 $class = $this->deprecatedPublicProperties[$name]; global() variable
[all...]
H A DDebugHelper.php10 class DebugHelper
44 (!empty($self['class']) ? ($self['class'] . '::') : '') .
53 (!empty($call['class']) ? ($call['class'] . '::') : '') .
66 * @param string $class The class with the deprecated property
71 public static function dbgDeprecatedProperty($class, $propertyName)
83 $caller = trim($call['class'] . '::' . $call['function'] . '()', ':');
84 $qualifiedName = $class
[all...]
/dokuwiki/inc/Extension/
H A DPluginInterface.php32 * The type of the plugin inferred from the class name
39 * The name of the plugin inferred from the class name
46 * The component part of the plugin inferred from the class name
124 * @param string $class
128 public function email($email, $name = '', $class = '', $more = '');
136 * @param string $class
141 public function external_link($link, $title = '', $class = '', $target = '', $more = '');
H A DPluginTrait.php219 public function email($email, $name = '', $class = '', $more = '')
224 $class = "class='" . ($class ? $class : 'mail') . "'"; variable
225 return "<a href='mailto:$email' $class title='$email' $more>$name</a>";
231 public function external_link($link, $title = '', $class = '', $target = '', $more = '')
240 if ($class) $class = " class
[all...]
H A DPluginController.php13 class PluginController
93 $class = $type . '_plugin_' . $name; variable
100 return class_exists($class, true) ? new $class : null;
106 //construct class and instantiate
107 if (!class_exists($class, true)) {
131 $DOKU_PLUGINS[$type][$name] = new $class;
/dokuwiki/inc/
H A Dform.php18 * When printed, the form class calls functions named 'form_$type' for each
28 * Please note that even though this class is technically deprecated (use dokuwiki\Form instead),
35 class Doku_Form
282 $form .= '<form '. buildAttributes($this->params,false) .'><div class="no">'. DOKU_LF;
402 'class'=>'edit', 'cols'=>'80', 'rows'=>'10');
440 * @param string $class Class attribute of the label. If this is 'block',
450 function form_makeField($type, $name, $value='', $label=null, $id='', $class='', $attrs=array()) {
452 $elem = array('_elem'=>'field', '_text'=>$label, '_class'=>$class,
471 * @param string $class
476 function form_makeFieldRight($type, $name, $value='', $label=null, $id='', $class
[all...]
H A DActionRouter.php16 class ActionRouter {
68 * Instantiates the right class, runs permission checks and pre-processing and
95 if(is_a($e, ActionDisabledException::class)) {
151 if(is_a($e, FatalException::class)) {
166 * This translates the given name to a class name by uppercasing the first letter.
168 * parts are removed beginning from the end until a matching class is found. The instatiated
182 $class = 'dokuwiki\\Action\\' . str_replace('_', '', ucwords($load, '_')); variable
183 if(class_exists($class)) {
184 return new $class($actionname);
/dokuwiki/lib/plugins/config/core/
H A DConfiguration.php18 class Configuration {
175 * Instantiates the proper class for the given config key
177 * The class is added to the $settings or $undefined arrays and returned
185 $class = $this->determineClassName(array_shift($param), $key); // first param is class variable
186 $obj = new $class($key, $param);
196 * Return the class to load
198 * @param string $class the class name as given in the meta file
202 protected function determineClassName($class,
[all...]
/dokuwiki/inc/Form/
H A DInputElement.php8 * Base class for all input elements. Uses a wrapping label when label
14 class InputElement extends Element
77 * Adds a class to the class attribute
79 * This is the preferred method of setting the element's class
81 * @param string $class the new class to add
84 public function addClass($class)
86 if ($this->label) $this->label->addClass($class);
87 return parent::addClass($class);
[all...]
H A DElement.php12 abstract class Element
107 * Adds a class to the class attribute
109 * This is the preferred method of setting the element's class
111 * @param string $class the new class to add
114 public function addClass($class)
116 $classes = explode(' ', $this->attr('class'));
117 $classes[] = $class;
120 $this->attr('class', joi
[all...]
H A DTagCloseElement.php13 class TagCloseElement extends ValueElement
27 * @param string $class
31 public function addClass($class)
/dokuwiki/inc/parser/
H A Dxhtml.php14 class Doku_Renderer_xhtml extends Doku_Renderer {
62 * @return string A marker class for the starting HTML element
141 $this->doc .= '<div class="footnotes">'.DOKU_LF;
148 $this->doc .= '<div class="fn">';
149 $this->doc .= '<sup><a href="#fnt__'.$id.'" id="fn__'.$id.'" class="fn_bot">';
158 $this->doc .= ', <sup><a href="#fnt__'.($ref).'" id="fn__'.($ref).'" class="fn_bot">';
164 $this->doc .= '<div class="content">'.$footnote.'</div>';
243 $this->doc .= ' class="'.$this->startSectionEdit($pos, $data).'"';
256 $this->doc .= '<div class="level'.$level.'">'.DOKU_LF;
335 $this->doc .= '<em class
457 $class = ''; global() variable
460 $class = " class=\\"$classes\\""; global() variable
478 $class = ''; global() variable
481 $class = " class=\\"$classes\\""; global() variable
665 $class = preg_replace('/[^_\\-a-z0-9]+/i', '_', $ext); global() variable
666 $class = 'mediafile mf_'.$class; global() variable
693 $class = 'code'; //we always need the code class to make the syntax highlighting apply global() variable
900 $class = 'wikilink1'; global() variable
902 $class = 'wikilink2'; global() variable
906 $class = 'media'; global() variable
979 $class = 'urlextern'; global() variable
981 $class = 'media'; global() variable
1036 $class = preg_replace('/[^_\\-a-z0-9]+/i', '_', $wikiName); global() variable
1197 $class = preg_replace('/[^_\\-a-z0-9]+/i', '_', $ext); global() variable
1273 $class = preg_replace('/[^_\\-a-z0-9]+/i', '_', $ext); global() variable
1392 $class = 'table'; global() variable
1471 $class = 'row'.$this->_counter['row_counter']++; global() variable
1495 $class = 'class="col'.$this->_counter['cell_counter']++; global() variable
1531 $class = 'class="col'.$this->_counter['cell_counter']++; global() variable
[all...]
/dokuwiki/bin/
H A Dplugin.php13 class PluginCLI extends CLI {
93 $class = "cli_plugin_$name"; variable
94 if(class_exists($class)) {
95 return new $class();
/dokuwiki/inc/Ui/
H A DIndex.php13 class Index extends Ui
62 $html = '<div id="index__tree" class="index__tree">'
91 $html .= '<a href="'. $link .'" title="'. $item['id'] .'" class="idx_dir"' . $nofollow .'><strong>';
118 $class = ''; variable
125 $class = ' bounce'; variable
127 return '<li class="level'.$item['level'].$class.'" '.$id.'>';
129 return '<li class="open">';
131 return '<li class="closed">';
H A DRecent.php13 class Recent extends Ui
55 print '<div class="level1"><p>'
61 $form = new Form(['id'=>'dw__recent', 'method'=>'GET', 'action'=> wl($ID), 'class'=>'changes']);
76 $class = ($recent['type'] === DOKU_CHANGE_TYPE_MINOR_EDIT) ? 'minor': ''; variable
77 $form->addTagOpen('li')->addClass($class);
95 $form->addTagClose('div'); // close div class=no
155 $html = '<div class="pagenav">';
158 $html.= '<div class="pagenav-prev">';
160 . ' title="'.$lang['btn_newer'].' [N]" class="button show">'
166 $html.= '<div class
259 $class = file_exists(mediaFN($id)) ? 'wikilink1' : 'wikilink2'; global() variable
318 $class = 'sizechange'; global() variable
[all...]
H A DAdmin.php15 class Admin extends Ui {
29 echo '<div class="ui-admin">';
49 $class = 'admin_plugins'; variable
51 $class = 'admin_tasks'; variable
54 echo "<ul class=\"$class\">";
98 echo '<li><div class="li">';
100 echo '<span class="icon">';
103 echo '<span class="prompt">';
H A DRevisions.php14 class Revisions extends Ui
71 'class' => 'changes',
80 $class = ($info['type'] === DOKU_CHANGE_TYPE_MINOR_EDIT) ? 'minor' : ''; variable
81 $form->addTagOpen('li')->addClass($class);
115 $form->addTagClose('div'); // close div class=no
143 'class' => 'changes',
151 $class = ($info['type'] === DOKU_CHANGE_TYPE_MINOR_EDIT) ? 'minor' : ''; variable
152 $form->addTagOpen('li')->addClass($class);
181 $form->addTagClose('div'); // close div class=no
291 $html = '<div class
443 $class = 'sizechange'; global() variable
[all...]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingMulticheckbox.php8 class SettingMulticheckbox extends SettingString {
64 // @todo ideally this would be handled using a second class of "default"
65 $class = (($idx !== false) == (false !== $idx_default)) ? " selectiondefault" : ""; variable
70 $input .= '<div class="selection' . $class . '">' . "\n";
73 '][]" type="checkbox" class="checkbox" value="' . $choice . '" ' . $disable . ' ' . $checked . "/>\n";
88 $class = ( variable
94 $input .= '<div class="other' . $class . '">' . "\n";
99 '][other]" type="text" class
[all...]
/dokuwiki/lib/plugins/extension/helper/
H A Dlist.php12 class helper_plugin_extension_list extends DokuWiki_Plugin
33 $this->form .= '<ul class="extensionList">';
79 $this->form .= '<div class="no">';
100 $this->form .= '<li class="notfound">'.$lang['nothingfound'].'</li>';
122 '" class="'.$this->makeClass($extension).'">';
126 * Add a column with the given class and content
127 * @param string $class The class name
130 private function populateColumn($class, $html)
132 $this->form .= '<div class
181 $class = ($extension->isTemplate()) ? 'template' : 'plugin'; global() variable
289 $class = 'close'; global() variable
292 $class = ''; global() variable
[all...]

Completed in 32 milliseconds

12