Home
last modified time | relevance | path

Searched refs:class (Results 1 - 25 of 42) sorted by last modified time

12

/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/
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);
H A Dhtml.php47 dbg_deprecated(\dokuwiki\Ui\Login::class .'::show()');
59 dbg_deprecated(\dokuwiki\Action\Denied::class .'::showBanner()');
132 $html = '<div class="secedit editbutton_'.$data['target'] .' editbutton_'.$secid .'">';
148 $html = '<a class="nolink" href="#dokuwiki__top">'
149 .'<button class="button" onclick="window.scrollTo(0, 0)" title="'. $lang['btn_top'] .'">'
191 $html = '<form class="button btn_'.$name.'" method="'.$method.'" action="'.$script.'"><div class="no">';
224 dbg_deprecated(\dokuwiki\Ui\PageView::class .'::showrev()');
236 dbg_deprecated(\dokuwiki\Ui\PageView::class .'::show()');
247 dbg_deprecated(\dokuwiki\Ui\Draft::class
974 $class = 'sizechange'; global() variable
[all...]
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 Dmedia.php35 echo '<div class="search_result">';
36 echo '<span class="mediaref_ref">'.hsc($row).'</span>';
42 print '<div class="mediaref_hidden">'.$lang['ref_hidden'].'</div>';
142 echo '<div class="nothing">'.$lang['media_perm_upload'].'</div>'.DOKU_LF;
160 'class' => 'meta'
175 'class' => 'edit',
185 )->id($p['id'])->addClass($p['class'])->val($value);
189 ->addClass($p['class'])
693 echo '<div class="nothing">'.$lang['nothingfound'].'</div>'.NL;
706 echo '<div class
1860 $class='media level'.$item['level']; global() variable
[all...]
H A Dparserutils.php584 $class = 'dokuwiki\\Parsing\\ParserMode\\'.ucfirst($m); variable
585 $obj = new $class();
689 * Figure out the correct renderer class to use for $mode,
806 return "<$wrapper class=\"code $language\">$highlighted_code</$wrapper>";
H A Dtemplate.php173 $class = $INPUT->str('page'); variable
174 if(!empty($class)) {
177 if(in_array($class, $pluginlist)) {
180 $plugin = plugin_load('admin', $class);
557 'class="action '.$type.'" '.
584 $class = '\\dokuwiki\\Menu\\Item\\' . ucfirst($type); variable
585 if(class_exists($class)) {
588 $item = new $class;
680 'class' => 'search',
736 $crumbs_sep = ' <span class
1458 $class = preg_replace('/[^_\\-a-z0-9]+/i', '_', $ext); global() variable
1459 $class = 'select mediafile mf_'.$class; global() variable
[all...]
/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 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;
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 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 = '');
/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/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/inc/Ui/
H A DAdmin.php15 class Admin extends Ui {
29 echo '<div class="ui-admin">';
50 $class = 'admin_plugins'; variable
52 $class = 'admin_tasks'; variable
55 echo "<ul class=\"$class\">";
98 echo '<li><div class="li">';
100 echo '<span class="icon">';
103 echo '<span class="prompt">';
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 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 DSearch.php9 class Search extends Ui
528 $html = '<div class="search_quickresult">';
530 $html .= '<ul class="search_quickhits">';
546 $html .= '<div class="clearer"></div>';
565 return '<div class="nothing">' . $lang['nothingfound'] . '</div>';
568 $html = '<div class="search_fulltextresult">';
571 $html .= '<dl class="search_results">';
589 $lastMod = '<span class="lastmod">' . $lang['lastmod'] . '</span> ';
596 $hits = '<span class="hits">' . $cnt . ' ' . $lang['hits'] . '</span>, ';
610 $html .= '<div class
[all...]
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/inc/Ui/Media/
H A DDisplayRow.php10 class DisplayRow extends DisplayTile
19 $class = 'select mediafile mf_' . $this->mediaFile->getIcoClass(); variable
24 echo '<a id="h_:' . $id . '" class="' . $class . '">' .
27 echo '<span class="info">(' . $info . ')</span>' . NL;
32 'alt="' . $lang['mediaview'] . '" title="' . $lang['mediaview'] . '" class="btn" /></a>';
37 'alt="' . $lang['btn_media'] . '" title="' . $lang['btn_media'] . '" class="btn" /></a>';
43 echo ' <a href="' . $link . '" class="btn_media_delete" title="' . $id . '">' .
45 'title="' . $lang['btn_delete'] . '" class="btn" /></a>';
48 echo '<div class
[all...]
/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/lib/exe/
H A Dcss.php322 * for an interwiki URL it is set in it's own class. Both classes can be
338 $class = preg_replace('/[^_\-a-z0-9]+/i','_',$iw); variable
340 echo "a.iw_$class {";
344 echo "a.iw_$class {";
377 $class = preg_replace('/[^_\-a-z0-9]+/','_',$ext); variable
378 echo ".mf_$class {";
398 * Helper class to abstract loading of css/less files
402 class DokuCssFile {
/dokuwiki/lib/plugins/acl/
H A Dadmin.php15 * need to inherit from this class
17 class admin_plugin_acl extends DokuWiki_Admin_Plugin
182 echo '<div class="level1">'.NL;
193 echo '<div class="clearer"></div>';
195 echo '<div class="level2">'.NL;
199 echo '<div class="footnotes"><div class="fn">'.NL;
200 echo '<sup><a id="fn__1" class="fn_bot" href="#fnt__1">1)</a></sup>'.NL;
201 echo '<div class="content">'.$this->getLang('p_include').'</div>';
345 echo '<form action="'.wl().'" method="post" accept-charset="utf-8"><div class
784 $class = ' class="disabled"'; global() variable
786 $class = ''; global() variable
[all...]

Completed in 19 milliseconds

12