Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 15 of 15) sorted by relevance

/template/strap/ComboStrap/
H A DMarkupRef.php63 private string $ref; variable in ComboStrap\\MarkupRef
75 public function __construct($ref, $type) argument
77 $this->ref = $ref;
82 $ref = trim($ref);
94 if (preg_match('<' . $emailPattern . '>', $ref)) {
96 $position = strpos($ref, "?");
99 $email = substr($ref, 0, $position);
100 $queryStringAndFragment = substr($ref, $position + 1);
104 $this->url = Url::createFromString("mailto:$ref");
120 if (preg_match('#^([a-z0-9\-.+]+?)://#i', $ref)) {
[all …]
H A DMediaMarkup.php151 $ref = $tagAttributes->getValueAndRemoveIfPresent(MarkupRef::REF_ATTRIBUTE);
152 if ($ref === null) {
153 $ref = $tagAttributes->getValueAndRemoveIfPresent(MediaMarkup::DOKUWIKI_SRC);
154 if ($ref === null) {
158 return self::createFromRef($ref)
446 $ref = $parts[0];
447 if ($ref === null) {
450 $mediaMarkup->setMarkupRef($ref);
459 $rightAlign = (bool)preg_match('/^ /', $ref);
460 $leftAlign = (bool)preg_match('/ $/', $ref);
[all …]
H A DInterWiki.php23 private string $ref; variable in ComboStrap\\InterWiki
38 $this->ref = $interWikiRef;
62 public static function createMediaInterWikiFromString(string $ref): InterWiki argument
64 return new InterWiki($ref, MarkupRef::MEDIA_TYPE);
233 return $this->ref;
H A DLinkMarkup.php102 * @param String $ref
107 public function __construct(string $ref) argument
112 $this->markupRef = MarkupRef::createLinkFromRef($ref);
134 public static function createFromRef(string $ref): LinkMarkup argument
136 return new LinkMarkup($ref);
H A DBlockquoteTag.php135 $ref = $actualCall->getAttribute(syntax_plugin_combo_link::MARKUP_REF_ATTRIBUTE);
136 if (StringUtility::match($ref, "https:\/\/twitter.com\/[^\/]*\/status\/.*")) {
/template/breeze/bower_components/gumby/js/libs/
Dgumby.js209 Gumby.prototype.addInitalisation = function(ref, code) { argument
210 this.inits[ref] = code;
214 Gumby.prototype.initialize = function(ref, all) { argument
215 if(typeof ref === 'object') {
217 for(i; i < ref.length; i++) {
218 if(!this.inits[ref[i]] || typeof this.inits[ref[i]] !== 'function') {
219 this.error('Error initializing module: '+ref[i]);
223 this.inits[ref[i]](all);
225 } else if(this.inits[ref] && typeof this.inits[ref] === 'function') {
226 this.inits[ref](all);
[all …]
/template/strap/ComboStrap/Tag/
H A DBackgroundTag.php177 $ref = $backgroundImageAttribute[MarkupRef::REF_ATTRIBUTE];
178 … if (!str_contains($ref, TagAttributes::TYPE_KEY) && str_contains($ref, "svg")) {
179 if (str_contains($ref, "?")) {
180 $ref = "$ref&type=$fill";
182 $ref = "$ref?type=$fill";
185 $backgroundImageAttribute[MarkupRef::REF_ATTRIBUTE] = $ref;
/template/twigstarter/vendor/twig/twig/src/TokenParser/
DApplyTokenParser.php34 $ref = new TempNameExpression($name, $lineno);
35 $ref->setAttribute('always_defined', true);
37 … $filter = $this->parser->getExpressionParser()->parseFilterExpressionRaw($ref, $this->getTag());
44 new SetNode(true, $ref, $body, $lineno, $this->getTag()),
DFilterTokenParser.php39 …$ref = new BlockReferenceExpression(new ConstantExpression($name, $lineno), null, $lineno, $this->…
41 … $filter = $this->parser->getExpressionParser()->parseFilterExpressionRaw($ref, $this->getTag());
/template/strap/syntax/
H A Dvariable.php26 public static function isVariable($ref): bool argument
28 return substr($ref, 0, 1) === Template::DOLLAR_VARIABLE_PREFIX;
H A Dlink.php642 $ref = $tagAttributes->getValue(self::MARKUP_REF_ATTRIBUTE);
644 $markupRef = LinkMarkup::createFromRef($ref);
646 …LogUtility::error("Error while parsing the ref ($ref). Error: {$e->getMessage()}. No further analy…
750 …LogUtility::msg("The link `{$ref}` with the type ($refType) is not taken into account into the st…
/template/strap/action/
H A Dindexer.php176 $ref = Reference::createFromResource($page)
180 $references->addRow([$ref]);
H A Dlinkmove.php304 $ref = $parseAttributes[syntax_plugin_combo_link::MARKUP_REF_ATTRIBUTE];
306 $link = LinkMarkup::createFromRef($ref);
309 …("Unable to rewrite the markup reference for a link move. The markup ref ($ref) could not be parse…
/template/twigstarter/vendor/twig/twig/src/
DExpressionParser.php261 $ref = new \ReflectionClass($class);
262 …if (!(\in_array($ref->getName(), [NegUnary::class, PosUnary::class, 'Twig_Node_Expression_Unary_Ne…
263 … || $ref->isSubclassOf(NegUnary::class) || $ref->isSubclassOf(PosUnary::class)
264 …|| $ref->isSubclassOf('Twig_Node_Expression_Unary_Neg') || $ref->isSubclassOf('Twig_Node_Expressio…
/template/codowik/js/
Dlayout.js1833 …sC.ref = (o.name ? o.name +' layout / ' : '') + tag + (id ? "#"+id : cls ? '.['+cls+']' : ''); //…
1978 _log( o.errors.noContainerHeight.replace(/CONTAINER/, sC.ref) );
6031 , ref = (dir == 'up' || dir == 'down') ? 'top' : 'left'
6039 animation[ref] = (show ? (pos ? '+=' : '-=') : (pos ? '-=' : '+=')) + dist;
6047 $el.css(ref, isNaN(dist) ? "-" + dist : -dist); // Shift outside the left/top edge
6056 if (ref === 'top')