Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DElementDef.php140 $def = new HTMLPurifier_ElementDef();
141 $def->content_model = $content_model;
142 $def->content_model_type = $content_model_type;
143 $def->attr = $attr;
144 return $def;
151 * @param HTMLPurifier_ElementDef $def
153 public function mergeIn($def) argument
156 foreach ($def->attr as $k => $v) {
173 $this->_mergeAssocArray($this->excludes, $def->excludes);
174 … $this->attr_transform_pre = array_merge($this->attr_transform_pre, $def->attr_transform_pre);
[all …]
DConfig.php60 public $def; variable in HTMLPurifier_Config
110 $this->def = $definition; // keep a copy around for checking
147 return new HTMLPurifier_Config($config->def, $config->plist);
181 if (!isset($this->def->info[$key])) {
189 if (isset($this->def->info[$key]->isAlias)) {
190 $d = $this->def->info[$key];
310 if (!isset($this->def->info[$key])) {
317 $def = $this->def->info[$key];
319 if (isset($def->isAlias)) {
329 $this->set($def->key, $value);
[all …]
DDefinitionCache.php68 * @param HTMLPurifier_Definition $def Definition object to check
71 public function checkDefType($def) argument
73 if ($def->type !== $this->type) {
74 trigger_error("Cannot use definition of type {$def->type} in cache for {$this->type}");
82 * @param HTMLPurifier_Definition $def
85 abstract public function add($def, $config); argument
89 * @param HTMLPurifier_Definition $def
92 abstract public function set($def, $config); argument
96 * @param HTMLPurifier_Definition $def
99 abstract public function replace($def, $config); argument
DContentSets.php80 * @param HTMLPurifier_ElementDef $def HTMLPurifier_ElementDef reference
83 public function generateChildDef(&$def, $module) argument
85 if (!empty($def->child)) { // already done!
88 $content_model = $def->content_model;
91 $def->content_model = preg_replace_callback(
99 $def->child = $this->getChildDef($def, $module);
112 * @param HTMLPurifier_ElementDef $def HTMLPurifier_ElementDef to have ChildDef extracted
116 public function getChildDef($def, $module) argument
118 $value = $def->content_model;
127 switch ($def->content_model_type) {
[all …]
DHTMLModuleManager.php311 foreach ($module->info as $name => $def) {
394 $def = false;
415 if (!$def && $new_def->standalone) {
416 $def = $new_def;
417 } elseif ($def) {
420 $def->mergeIn($new_def);
436 $this->attrCollections->performInclusions($def->attr);
437 $this->attrCollections->expandIdentifiers($def->attr, $this->attrTypes);
440 if (is_string($def->content_model) &&
441 strpos($def->content_model, 'Inline') !== false) {
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/
DHTMLDefinition.php9 protected $def; variable in HTMLPurifier_Printer_HTMLDefinition
20 $this->def = $config->getHTMLDefinition();
40 $doctype = $this->def->doctype;
59 $def = $this->def;
66 $ret .= $this->row('Parent of fragment', $def->info_parent);
67 $ret .= $this->renderChildren($def->info_parent_def->child);
68 $ret .= $this->row('Block wrap name', $def->info_block_wrapper);
72 $ret .= $this->element('td', $this->listifyAttr($def->info_global_attr), null, 0);
78 foreach ($def->info_tag_transform as $old => $new) {
87 $ret .= $this->element('td', $this->listifyObjectList($def->info_attr_transform_pre));
[all …]
/plugin/asciidocjs/node_modules/uglify-js/lib/
Dscope.js74 var def = this.redefined();
75 if (def) {
76 this.mangled_name = def.mangled_name || def.name;
88 var def = scope.variables.get(name)
90 || self.orig[0] instanceof AST_SymbolConst && find_if(function(def) { argument
91 return def.name == name;
93 if (def && def !== self) return def.redefined() || def;
121 function is_funarg(def) { argument
122 return def.orig[0] instanceof AST_SymbolFunarg || def.orig[1] instanceof AST_SymbolFunarg;
220 var def = scope.def_variable(node);
[all …]
Dcompress.js129 var def = name.definition();
130 if (def.direct_access) return false;
131 var escaped = def.escaped;
165 this.top_retain = function(def) { argument
166 return top_retain.test(def.name);
174 this.top_retain = function(def) { argument
175 return member(def.name, top_retain);
224 Compressor.prototype.exposed = function(def) { argument
225 if (def.exported) return true;
226 if (def.undeclared) return true;
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/
DMemory.php29 * @param HTMLPurifier_Definition $def
33 public function add($def, $config) argument
35 $status = parent::add($def, $config);
37 $this->definitions[$this->generateKey($config)] = $def;
43 * @param HTMLPurifier_Definition $def
47 public function set($def, $config) argument
49 $status = parent::set($def, $config);
51 $this->definitions[$this->generateKey($config)] = $def;
57 * @param HTMLPurifier_Definition $def
61 public function replace($def, $config) argument
[all …]
DCleanup.php23 * @param HTMLPurifier_Definition $def
27 public function add($def, $config) argument
29 $status = parent::add($def, $config);
37 * @param HTMLPurifier_Definition $def
41 public function set($def, $config) argument
43 $status = parent::set($def, $config);
51 * @param HTMLPurifier_Definition $def
55 public function replace($def, $config) argument
57 $status = parent::replace($def, $config);
DTemplate.php.in25 * @param HTMLPurifier_Definition $def
29 public function add($def, $config) argument
31 return parent::add($def, $config);
35 * @param HTMLPurifier_Definition $def
39 public function set($def, $config) argument
41 return parent::set($def, $config);
45 * @param HTMLPurifier_Definition $def
49 public function replace($def, $config) argument
51 return parent::replace($def, $config);
/plugin/captcha/
DEasySVG.php181 * @param string $def
185 public function addPath($def, $attributes = []) argument
191 $path->addAttribute('d', $def);
197 * @param string $def
205 $def = $this->textDef($text);
208 $def = $this->defTranslate($def, $x, $y);
215 return $this->addPath($def, $attributes);
225 $def = [];
250 $def[] = $d;
256 return implode(' ', $def);
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/
DDecorator.php46 * @param HTMLPurifier_Definition $def
50 public function add($def, $config) argument
52 return $this->cache->add($def, $config);
56 * @param HTMLPurifier_Definition $def
60 public function set($def, $config) argument
62 return $this->cache->set($def, $config);
66 * @param HTMLPurifier_Definition $def
70 public function replace($def, $config) argument
72 return $this->cache->replace($def, $config);
DNull.php10 * @param HTMLPurifier_Definition $def
14 public function add($def, $config) argument
20 * @param HTMLPurifier_Definition $def
24 public function set($def, $config) argument
30 * @param HTMLPurifier_Definition $def
34 public function replace($def, $config) argument
DSerializer.php7 * @param HTMLPurifier_Definition $def
11 public function add($def, $config) argument
13 if (!$this->checkDefType($def)) {
23 return $this->_write($file, serialize($def), $config);
27 * @param HTMLPurifier_Definition $def
31 public function set($def, $config) argument
33 if (!$this->checkDefType($def)) {
40 return $this->_write($file, serialize($def), $config);
44 * @param HTMLPurifier_Definition $def
48 public function replace($def, $config) argument
[all …]
/plugin/watchcycle/
Dhelper.php84 * @param string $def
87 public function validateMaintainerString($def) argument
93 $all = explode(',', $def);
117 * @param string $def maintainer definition as given in the syntax
120 public function getMaintainers($def) argument
128 $all = explode(',', $def);
142 * @param string $def maintainer definition as given in the syntax
145 public function getMaintainerMails($def) argument
152 $data = $this->getMaintainers($def);
170 * @param string $def
[all …]
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/lib/
Dcompress.js101 this.top_retain = function(def) { argument
102 return top_retain.test(def.name);
110 this.top_retain = function(def) { argument
111 return top_retain.indexOf(def.name) >= 0;
427 function mark(def, safe) { argument
428 safe_ids[def.id] = safe;
431 function is_safe(def) { argument
432 if (safe_ids[def.id]) {
433 if (def.fixed == null) {
434 var orig = def.orig[0];
[all …]
/plugin/crossdbsqlclient/syntax/
Ddbwrapper.php201 $def = $meta [$column];
203 $headers [$column] = $def ['label'] ? $def ['label'] : $column;
204 $class = $def ['format'] ? $def ['format'] : 'na';
207 $value = $this->valueFromDB ( $column, $value, $def );
209 $cell = $this->renderValue ( $column, $value, $def, false, false );
244 unset ( $def );
247 $def = $meta [$column];
260 $def = $meta [$temp];
266 $headers [$column] = $def ['label'] ? $def ['label'] : $column;
304 protected function valueFromDB($column, $value, $def) { argument
[all …]
/plugin/simplemysqlclient/syntax/
Dsimplemysqlclient.php225 $def = $meta [$column];
227 $headers [$column] = $def ['label'] ? $def ['label'] : $column;
228 $class = $def ['format'] ? $def ['format'] : 'na';
231 $value = $this->valueFromDB ( $column, $value, $def );
233 $cell = $this->renderValue ( $column, $value, $def, false, false );
268 unset ( $def );
271 $def = $meta [$column];
284 $def = $meta [$temp];
290 $headers [$column] = $def ['label'] ? $def ['label'] : $column;
328 protected function valueFromDB($column, $value, $def) { argument
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/
DDenyElementDecorator.php11 public $def; variable in HTMLPurifier_AttrDef_CSS_DenyElementDecorator
18 * @param HTMLPurifier_AttrDef $def Definition to wrap
21 public function __construct($def, $element) argument
23 $this->def = $def;
40 return $this->def->validate($string, $config, $context);
DImportantDecorator.php11 public $def; variable in HTMLPurifier_AttrDef_CSS_ImportantDecorator
18 * @param HTMLPurifier_AttrDef $def Definition to wrap
21 public function __construct($def, $allow = false) argument
23 $this->def = $def;
48 $string = $this->def->validate($string, $config, $context);
DBackground.php22 $def = $config->getCSSDefinition();
23 $this->info['background-color'] = $def->info['background-color'];
24 $this->info['background-image'] = $def->info['background-image'];
25 $this->info['background-repeat'] = $def->info['background-repeat'];
26 $this->info['background-attachment'] = $def->info['background-attachment'];
27 $this->info['background-position'] = $def->info['background-position'];
28 $this->info['background-size'] = $def->info['background-size'];
/plugin/xref/
DHeuristics.php12 protected $def = ''; variable in dokuwiki\\plugin\\xref\\Heuristics
35 if ($reference !== '') $this->def = $reference;
43 return trim(preg_replace('/[^\w]+/', '', $this->def));
85 list($this->path, $this->def) = explode('#', $reference, 2);
98 $this->def = '';
141 $this->def = $reference;
154 $this->def = $reference;
169 $this->def = $reference;
174 $this->def = $reference;
190 $this->def = $reference;
/plugin/database2/
Ddatabase2.php845 foreach ( $this->meta as $name => $def )
846 if ( $def['isColumn'] && ( $def['format'] == 'acl' ) )
1034 foreach ( $this->meta as $column => $def )
1035 if ( $def['isColumn'] && ( $column != $idColumn ) )
1038 …$mayEdit = !$def['options']['mayedit'] || $this->isAuthorizedMulti( $rowACL, $def['options'], 'may…
1043 …$mayView = !$def['options']['mayview'] || $this->isAuthorizedMulti( $rowACL, $def['options'], 'may…
1052 $error = $this->checkValue( $rowid, $column, $input['data'.$column], $store[$column], $def );
1190 foreach ( $this->meta as $column => $def )
1191 if ( $def['isColumn'] && ( $column != $idColumn ) )
1192 $store[$column] = $this->getInitialValue( $column, $def );
[all …]
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/
DStrict.php31 * @param HTMLPurifier_ElementDef $def
34 public function getChildDef($def) argument
36 if ($def->content_model_type != 'strictblockquote') {
37 return parent::getChildDef($def);
39 return new HTMLPurifier_ChildDef_StrictBlockquote($def->content_model);

12345678910>>...12