/plugin/combo/ComboStrap/ |
H A D | GridTag.php | 82 public static function processEnter(TagAttributes $attributes, $handler, $match) argument 123 * $attributes->addClassName("no-gutters"); 155 $attributes->setType(self::TYPE_ROW_TAG); 162 if (!$attributes->hasComponentAttribute($key)) { 163 $attributes->addComponentAttributeValue($key, $value); 171 $aligns = $attributes->getValues(Align::ALIGN_ATTRIBUTE, []); 179 $attributes->addComponentAttributeValue(Align::ALIGN_ATTRIBUTE, $value); 190 $type = $attributes->getType(); 193 $attributes->removeType(); 197 $attributes 461 renderEnterXhtml(TagAttributes $attributes) global() argument [all...] |
H A D | Hover.php | 26 * @param TagAttributes $attributes 28 public static function processOnHover(TagAttributes &$attributes) argument 30 if ($attributes->hasComponentAttribute(self::ON_HOVER_ATTRIBUTE)) { 31 $hover = strtolower($attributes->getValueAndRemove(self::ON_HOVER_ATTRIBUTE)); 48 $attributes->addClassName("hvr-$hover"); 94 $attributes->addClassName(self::COMBO_HOVER_EASING_CLASS); 96 $attributes->addOutputAttributeValue("data-hover-class", trim($comboDataHoverClasses));
|
H A D | PluginUtility.php | 27 const ATTRIBUTES = "attributes"; 167 * @param $attributes - combo attributes 171 public static function array2HTMLAttributesAsString($attributes) argument 174 $tagAttributes = TagAttributes::createFromCallStackArray($attributes); 181 * Parse the attributes part of a match 269 $attributes = array(); 293 $attributes[TagAttributes::TYPE_KEY] = $nextArgument; 311 $attributes[$keyThirdArgument] = $nextArgument; 322 * Parse the remaining attributes 432 processStyle(& $attributes) global() argument 683 addClass2Attributes($classValue, array& $attributes) global() argument 696 addStyleProperty($property, $value, array& $attributes) global() argument 799 addAttributeValue($attribute, $value, array& $attributes) global() argument [all...] |
H A D | RasterImageLink.php | 77 $attributes = $this->mediaMarkup->getExtraMediaTagAttributes() 89 $attributes->addClassName(self::RESPONSIVE_CLASS); 120 $attributes->addOutputAttributeValue("height", $targetHeight . $htmlLengthUnit); 124 $attributes->addStyleDeclarationIfNotSet("max-height", $targetHeight . $cssLengthUnit); 128 $attributes->addStyleDeclarationIfNotSet("height", "auto"); 164 $attributes->addOutputAttributeValue("width", $targetWidth . $htmlLengthUnit); 168 $attributes->addStyleDeclarationIfNotSet("max-width", $targetWidth . $cssLengthUnit); 172 $attributes->addStyleDeclarationIfNotSet("width", "100%"); 269 $attributes->addOutputAttributeValue("src", $srcValue); 272 $attributes [all...] |
H A D | Spacing.php | 12 * Process the attributes that have an impact on the class 13 * @param TagAttributes $attributes 15 public static function processSpacingAttributes(&$attributes) argument 20 if ($attributes->hasComponentAttribute($spacing)) { 22 $spacingValue = $attributes->getValueAndRemove($spacing); 28 $logicalTag = $attributes->getLogicalTag(); 73 $attributes->addClassName($spacingClass);
|
H A D | XmlTagProcessing.php | 491 $attributes = $data[PluginUtility::ATTRIBUTES] ?? null; 495 $tagAttributes = TagAttributes::createFromCallStackArray($attributes)->setLogicalTag($logicalTag); 676 * Common exit attributes 803 $attributes = $data[PluginUtility::ATTRIBUTES]; 805 $tagAttributes = TagAttributes::createFromCallStackArray($attributes)->setLogicalTag($tag);
|
H A D | EditButton.php | 103 public static function createFromCallStackArray($attributes): EditButton argument 105 $label = $attributes[\syntax_plugin_combo_edit::LABEL]; 106 $startPosition = $attributes[\syntax_plugin_combo_edit::START_POSITION]; 107 $endPosition = $attributes[\syntax_plugin_combo_edit::END_POSITION]; 108 $wikiId = $attributes[TagAttributes::WIKI_ID]; 113 $headingId = $attributes[\syntax_plugin_combo_edit::HEADING_ID]; 117 $sectionId = $attributes[\syntax_plugin_combo_edit::SECTION_ID]; 121 $format = $attributes[\syntax_plugin_combo_edit::FORMAT];
|
H A D | Event.php | 109 $attributes = [self::EVENT_NAME_ATTRIBUTE, self::EVENT_DATA_ATTRIBUTE, DatabasePageRow::ROWID]; 110 $select = Sqlite::createSelectFromTableAndColumns(self::EVENT_TABLE_NAME, $attributes); 259 $attributes = [self::EVENT_NAME_ATTRIBUTE, self::EVENT_DATA_ATTRIBUTE, DatabasePageRow::ROWID]; 260 $select = Sqlite::createSelectFromTableAndColumns(self::EVENT_TABLE_NAME, $attributes);
|
H A D | FloatAttribute.php | 21 * @param TagAttributes $attributes 23 public static function processFloat(&$attributes) argument 27 if ($attributes->hasComponentAttribute($float)) { 28 $floatValue = $attributes->getValueAndRemove($float); 67 if (!$attributes->hasComponentAttribute("spacing")){ 68 $attributes->addComponentAttributeValue("spacing","ms-3"); 73 $attributes->addClassName("float-{$floatValue}"); 79 $attributes->addClassName("float-xs-none"); 83 $attributes->addStyleDeclarationIfNotSet("position", "relative!important"); 84 $attributes [all...] |
H A D | PermalinkTag.php | 21 public static function handleEnterSpecial(TagAttributes $attributes, int $state, Doku_Handler $handler): array argument 25 $type = $attributes->getValueAndRemoveIfPresent(TagAttributes::TYPE_KEY); 32 $strict = $attributes->getBooleanValueAndRemoveIfPresent(TagAttributes::STRICT, true); 55 $fragment = $attributes->getValueAndRemoveIfPresent(self::FRAGMENT_ATTRIBUTE); 79 $attributes->addComponentAttributeValue(syntax_plugin_combo_link::MARKUP_REF_ATTRIBUTE, $url); 80 $attributes->addOutputAttributeValue("rel", "nofollow"); 81 syntax_plugin_combo_link::addOpenLinkTagInCallStack($callStack, $attributes); 108 $attributes->addComponentAttributeValue(syntax_plugin_combo_link::MARKUP_REF_ATTRIBUTE, $canonicalUrl); 109 $attributes->addOutputAttributeValue("rel", "nofollow"); 110 syntax_plugin_combo_link::addOpenLinkTagInCallStack($callStack, $attributes); [all...] |
H A D | HistoricalBreadcrumbMenuItem.php | 156 $attributes = LinkMarkup::createFromPageIdOrPath($id)->toAttributes(self::CANONICAL); 161 $attributes->addClassName($class); 164 return $attributes->toHtmlEnterTag("a") . $name . "</a>";
|
H A D | Position.php | 33 * @param TagAttributes $attributes 35 public static function processStickiness(&$attributes) argument 37 if ($attributes->hasComponentAttribute(self::STICKY_ATTRIBUTE)) { 38 $sticky = strtolower($attributes->getValueAndRemove(self::STICKY_ATTRIBUTE)); 41 $attributes->addClassName($stickyClass); 66 * @param TagAttributes $attributes 68 public static function processPosition(TagAttributes &$attributes) argument 70 if ($attributes->hasComponentAttribute(self::POSITION_ATTRIBUTE)) { 71 $position = strtolower($attributes->getValueAndRemove(self::POSITION_ATTRIBUTE)); 82 $attributes [all...] |
H A D | Prism.php | 192 * @param TagAttributes $attributes 195 public static function htmlEnter(\Doku_Renderer_xhtml $renderer, \DokuWiki_Syntax_Plugin $plugin, $attributes = null) 198 if ($attributes == null) { 199 $attributes = TagAttributes::createEmpty(); 205 $display = $attributes->getValueAndRemove("display"); 223 if ($attributes->getLogicalTag() != null) { 224 $logicalTag = $attributes->getLogicalTag(); 227 $attributes->setLogicalTag($logicalTag . "-container"); 231 * The container is the passed `attributes` 236 $codeAttributes->setType($attributes 184 htmlEnter(\\Doku_Renderer_xhtml $renderer, \\DokuWiki_Syntax_Plugin $plugin, $attributes = null) global() argument 355 htmlExit(\\Doku_Renderer_xhtml $renderer, $attributes = null) global() argument [all...] |
H A D | PrismTags.php | 31 * because it's possible to not display a code with the display attributes = none 41 public static function processEnterXhtml(TagAttributes $attributes, \DokuWiki_Syntax_Plugin $plugin, \Doku_Renderer_xhtml $renderer) argument 43 Prism::htmlEnter($renderer, $plugin, $attributes); 46 public static function processExitXhtml(TagAttributes $attributes, \Doku_Renderer_xhtml $renderer) argument 48 Prism::htmlExit($renderer, $attributes);
|
H A D | Snippet.php | 61 const JSON_HTML_ATTRIBUTES_PROPERTY = "attributes"; 615 $attributes = $array[self::JSON_HTML_ATTRIBUTES_PROPERTY] ?? null; 616 if ($attributes !== null) { 617 foreach ($attributes as $name => $value) {
|
H A D | TabsTag.php | 43 * A key attributes to set on in the instructions the attributes 73 * Unset non-html attributes 139 * @param array $attributes 142 public static function openNavigationalTabElement(array $attributes): string 144 $liTagAttributes = TagAttributes::createFromCallStackArray($attributes); 147 * Check all attributes for the link (not the li) 140 openNavigationalTabElement(array $attributes) global() argument
|
/plugin/combo/resources/firebug/ |
H A D | firebug-lite-1.2-compressed.js | 15 internal.extConsole=null;}}},init:function(_css){var i,cssLoaded=false,iconTitle="Click here or press F12, (CTRL|CMD)+SHIFT+L or SHIFT+ENTER to show Firebug Lite. CTRL|CMD click this icon to hide it.";with(firebug){if(document.getElementsByTagName('html')[0].attributes.getNamedItem('debug')){env.debug=document.getElementsByTagName('html')[0].attributes.getNamedItem('debug').nodeValue!=="false";} 54 result.push("</span>");}else{result.push("<span class='DarkBlue'><<span class='Blue TagName'>"+_value.nodeName.toLowerCase());if(_value.attributes){for(var i=0,len=_value.attributes.length;i<len;i++){var item=_value.attributes[i];if(!lib.env.ie||item.nodeValue) 127 if(pi.util.IsHash(_object[name])){_branch[name]={};this.movePrivateMembers(_object[name],_branch[name]);}};};};pi.element=new pi.base;pi.element.init=function(_val){this.environment.setElement(typeof _val=="string"||!_val?document.createElement(_val||"DIV"):_val);return this;};pi.element.body={"addStyle":function(){return this.environment.addStyle.apply(this.environment,arguments);},"clean":function(){var childs=this.child.get();while(childs.length){childs[0].parentNode.removeChild(childs[0]);}},"clone":function(_deep){return this.environment.getElement().cloneNode(_deep);},"insert":function(_element){_element=_element.environment?_element.environment.getElement():_element;_element.appendChild(this.environment.getElement());return this;},"insertAfter":function(_referenceElement){_referenceElement=_referenceElement.environment?_referenceElement.environment.getElement():_referenceElement;_referenceElement.nextSibling?this.insertBefore(_referenceElement.nextSibling):this.insert(_referenceElement.parentNode);return this;},"insertBefore":function(_referenceElement){_referenceElement=_referenceElement.environment?_referenceElement.environment.getElement():_referenceElement;_referenceElement.parentNode.insertBefore(this.environment.getElement(),_referenceElement);return this;},"query":function(_expression,_resultType,namespaceResolver,_result){return pi.xpath(_expression,_resultType||"ORDERED_NODE_SNAPSHOT_TYPE",this.environment.getElement(),_namespaceResolver,_result);},"remove":function(){if(this.environment.getParent()){this.environment.getParent().removeChild(this.environment.getElement());}},"update":function(_value){this.element[this.element.nodeName.toLowerCase()=="textarea"||this.element.nodeName.toLowerCase()=="input"?"value":"innerHTML"]=_value;return this;},"attribute":{"getAll":function(){return this._parent_.environment.getElement().attributes;},"clear":function(_name){this.set(_name,"");return this._parent_;},"get":function(_name){return this._parent_.environment.getElement().getAttribute(_name);},"has":function(_name){return pi.env.ie?(this.get(_name)!=null):this._parent_.environment.getElement().hasAttribute(_name);},"remove":function(_name){this._parent_.environment.getElement().removeAttribute(_name);return this._parent_;},"set":function(_name,_value){this._parent_.environment.getElement().setAttribute(_name,_value);return this._parent_;},"addClass":function(_classes){for(var i=0,len=arguments.length;i<len;i++){pi.util.Element.addClass(this._parent_.environment.getElement(),arguments[i]);};return this._parent_;},"clearClass":function(){this.setClass("");this._parent_;},"getClass":function(){return pi.util.Element.getClass(this._parent_.environment.getElement());},"hasClass":function(_class){return pi.util.Element.hasClass(this._parent_.environment.getElement(),_class);},"setClass":function(_value){return pi.util.Element.setClass(this._parent_.environment.getElement(),_value);},"removeClass":function(_class){pi.util.Element.removeClass(this._parent_.environment.getElement(),_class);return this._parent_;},"toggleClass":function(_class){pi.util.Element.toggleClass(this._parent_.environment.getElement(),_class);}},"child":{"get":function(){return this._parent_.environment.getElement().childNodes;},"add":function(_elements){for(var i=0;i<arguments.length;i++){var el=arguments[i];this._parent_.environment.getElement().appendChild(el.environment?el.environment.getElement():el);}
|
H A D | firebug-lite-1.2.js | 86 if(document.getElementsByTagName('html')[0].attributes.getNamedItem('debug')){ 87 env.debug = document.getElementsByTagName('html')[0].attributes.getNamedItem('debug').nodeValue !== "false"; 1250 if(_value.attributes){ 1251 for(var i=0,len=_value.attributes.length; i<len; i++){ 1252 var item = _value.attributes[i]; 2338 return this._parent_.environment.getElement().attributes;
|
/plugin/combo/ComboStrap/Xml/ |
H A D | XmlSystems.php | 132 * @param string[]|null $excludedAttributes - the value of this attributes will not be checked 146 $leftAttributesLength = $leftNode->attributes->length; 147 $rightNodeAttributes = $rightNode->attributes; 149 $error .= "The node (" . $rightNode->getNodePath() . ") have no attributes while the left node has.\n"; 153 * Collect the attributes by name 157 $leftAtt = $leftNode->attributes->item($i); 244 for ($i = 0; $i < $rightNode->attributes->length; $i++) { 246 $rightAtt = $rightNode->attributes->item($i);
|
/plugin/combo/syntax/ |
H A D | badge.php | 248 $attributes = $data[PluginUtility::ATTRIBUTES]; 249 $tagAttributes = TagAttributes::createFromCallStackArray($attributes, self::TAG);
|
/plugin/combo/ComboStrap/Tag/ |
H A D | AdTag.php | 133 public static function render(TagAttributes $attributes): string argument 136 $name = $attributes->getValueAndRemoveIfPresent(self::NAME_ATTRIBUTE); 141 $attributes->setId(AdTag::getTagId($name)); 150 $htmlAttributes = $attributes 180 $htmlAttributesString = $attributes
|
H A D | BackgroundTag.php | 51 * @param TagAttributes $attributes 53 public static function handleEnterAndSpecial(TagAttributes $attributes) argument 56 $color = $attributes->getValueAndRemoveIfPresent(ColorRgb::COLOR); 58 $attributes->addComponentAttributeValue(BackgroundAttribute::BACKGROUND_COLOR, $color); 78 * Set the backgrounds attributes 217 $attributes = $data[PluginUtility::ATTRIBUTES]; 218 if (isset($attributes[BackgroundAttribute::BACKGROUND_IMAGE])) { 219 $image = $attributes[BackgroundAttribute::BACKGROUND_IMAGE];
|
H A D | BarTag.php | 123 public static function renderEnterXhtml(TagAttributes $attributes, array $data): string argument 126 $attributes->addClassName($barTag); 131 $html = $attributes->toHtmlEnterTag($htmlTag);
|
H A D | BoxTag.php | 37 public static function handleEnter(TagAttributes $attributes) argument 39 $tag = $attributes->getValue(self::HTML_TAG_ATTRIBUTE); 42 $attributes->setComponentAttributeValue(self::HTML_TAG_ATTRIBUTE, self::DEFAULT_HTML_TAG);
|
/plugin/combo/ComboStrap/TagAttribute/ |
H A D | Shadow.php | 42 * @param TagAttributes $attributes 44 public static function process(TagAttributes &$attributes) argument 48 if ($attributes->hasComponentAttribute(self::ELEVATION_ATT)) { 49 $elevationValue = $attributes->getValueAndRemove(self::ELEVATION_ATT); 51 if ($attributes->hasComponentAttribute(self::SHADOW_ATT)) { 52 $elevationValue = $attributes->getValueAndRemove(self::SHADOW_ATT); 60 $attributes->addClassName($shadowClass); 113 * @param TagAttributes $attributes 116 static function addMediumElevation(&$attributes) argument 118 $attributes [all...] |