protected function getAllowedAttributes() { // "value" attribute for "li" which are children of "ol" elements. if ($this->getParent() instanceof Ol) { $liAllowedAttributes = array('/^value$/i' => Attribute::INT); return array_merge($liAllowedAttributes, parent::getAllowedAttributes()); } return parent::getAllowedAttributes(); }
protected function getAllowedAttributes() { $detailsAllowedAttributes = array('/^open$/i' => Attribute::BOOL); return array_merge($detailsAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $bodyAllowedAttributes = array('/^onafterprint$/i' => Attribute::JS, '/^onbeforeprint$/i' => Attribute::JS, '/^onbeforeunload$/i' => Attribute::JS, '/^onhashchange$/i' => Attribute::JS, '/^onlanguagechange$/i' => Attribute::JS, '/^onmessage$/i' => Attribute::JS, '/^onoffline$/i' => Attribute::JS, '/^ononline$/i' => Attribute::JS, '/^onpagehide$/i' => Attribute::JS, '/^onpageshow$/i' => Attribute::JS, '/^onpopstate$/i' => Attribute::JS, '/^onrejectionhandled$/i' => Attribute::JS, '/^onstorage$/i' => Attribute::JS, '/^onunhandledrejection$/i' => Attribute::JS, '/^onunload$/i' => Attribute::JS); return array_merge($bodyAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $insAllowedAttributes = array('/^cite$/i' => Attribute::URI, '/^datetime$/i' => Attribute::CS_STRING); return array_merge($insAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $fieldsetAllowedAttributes = array('/^disabled$/i' => Attribute::BOOL, '/^form$/i' => Attribute::CS_STRING, '/^name$/i' => Attribute::CS_STRING); return array_merge($fieldsetAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $scriptAllowedAttributes = array('/^src$/i' => Attribute::URI, '/^type$/i' => Attribute::CS_STRING, '/^charset$/i' => Attribute::CS_STRING, '/^async$/i' => Attribute::BOOL, '/^defer$/i' => Attribute::BOOL, '/^crossorigin$/i' => Attribute::CS_STRING, '/^nonce$/i' => Attribute::CS_STRING); return array_merge($scriptAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $blockquoteAllowedAttributes = array('/^cite$/i' => Attribute::URI); return array_merge($blockquoteAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $audioAllowedAttributes = array('/^src$/i' => Attribute::URI, '/^crossorigin$/i' => Attribute::CS_STRING, '/^preload$/i' => Attribute::CI_ENUM . '("","none","metadata","auto"|"")', '/^autoplay$/i' => Attribute::BOOL, '/^mediagroup$/i' => Attribute::CS_STRING, '/^loop$/i' => Attribute::BOOL, '/^muted$/i' => Attribute::BOOL, '/^controls$/i' => Attribute::BOOL); return array_merge($audioAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $meterAllowedAttributes = array('/^value$/i' => Attribute::CS_STRING, '/^min$/i' => Attribute::CS_STRING, '/^max$/i' => Attribute::CS_STRING, '/^low$/i' => Attribute::CS_STRING, '/^high$/i' => Attribute::CS_STRING, '/^optimum$/i' => Attribute::CS_STRING); return array_merge($meterAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $labelAllowedAttributes = array('/^for$/i' => Attribute::CS_STRING); return array_merge($labelAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $formAllowedAttributes = array('/^accept-charset$/i' => Attribute::CS_STRING, '/^action$/i' => Attribute::URI, '/^autocomplete$/i' => Attribute::CI_ENUM . '("","on","off")', '/^enctype$/i' => Attribute::CS_STRING, '/^method$/i' => Attribute::CI_ENUM . '("","get","post","dialog"|"get")', '/^name$/i' => Attribute::CS_STRING, '/^novalidate$/i' => Attribute::BOOL, '/^target$/i' => Attribute::CS_STRING); return array_merge($formAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $canvasAllowedAttributes = array('/^width$/i' => Attribute::INT, '/^height$/i' => Attribute::INT); return array_merge($canvasAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $objectAllowedAttributes = array('/^data$/i' => Attribute::CS_STRING, '/^type$/i' => Attribute::CS_STRING, '/^typemustmatch$/i' => Attribute::CS_STRING, '/^name$/i' => Attribute::CS_STRING, '/^usemap$/i' => Attribute::CS_STRING, '/^form$/i' => Attribute::CS_STRING, '/^width$/i' => Attribute::INT, '/^height$/i' => Attribute::INT); return array_merge($objectAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $optgroupAllowedAttributes = array('/^disabled$/i' => Attribute::BOOL, '/^label$/i' => Attribute::CS_STRING); return array_merge($optgroupAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $thAllowedAttributes = array('/^colspan$/i' => Attribute::INT, '/^rowspan$/i' => Attribute::INT, '/^headers$/i' => Attribute::CS_STRING, '/^scope$/i' => Attribute::CS_STRING, '/^abbr$/i' => Attribute::CS_STRING); return array_merge($thAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $buttonAllowedAttributes = array('/^autofocus$/i' => Attribute::BOOL, '/^disabled$/i' => Attribute::BOOL, '/^form$/i' => Attribute::CS_STRING, '/^formaction$/i' => Attribute::URI, '/^formenctype$/i' => Attribute::CS_STRING, '/^formmethod$/i' => Attribute::CI_ENUM . '("","get","post","dialog"|"get")', '/^formnovalidate$/i' => Attribute::BOOL, '/^formtarget$/i' => Attribute::CS_STRING, '/^menu$/i' => Attribute::CS_STRING, '/^name$/i' => Attribute::CS_STRING, '/^type$/i' => Attribute::CI_ENUM . '("submit","reset","button","menu"|"submit")', '/^value$/i' => Attribute::CS_STRING); return array_merge($buttonAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $olAllowedAttributes = array('/^reversed$/i' => Attribute::BOOL, '/^start$/i' => Attribute::INT, '/^type$/i' => Attribute::CS_STRING); return array_merge($olAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $outputAllowedAttributes = array('/^for$/i' => Attribute::CS_STRING, '/^form$/i' => Attribute::CS_STRING, '/^name$/i' => Attribute::CS_STRING); return array_merge($outputAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $menuitemAllowedAttributes = array('/^type$/i' => Attribute::CI_ENUM . '("","command","checkbox","radio"|"command")', '/^label$/i' => Attribute::CS_STRING, '/^icon$/i' => Attribute::CS_STRING, '/^disabled$/i' => Attribute::BOOL, '/^checked$/i' => Attribute::BOOL, '/^radiogroup$/i' => Attribute::CS_STRING, '/^default$/i' => Attribute::CS_STRING); return array_merge($menuitemAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $textareaAllowedAttributes = array('/^autocomplete$/i' => Attribute::CS_STRING, '/^autofocus$/i' => Attribute::BOOL, '/^cols$/i' => Attribute::INT, '/^dirname$/i' => Attribute::CS_STRING, '/^disabled$/i' => Attribute::BOOL, '/^form$/i' => Attribute::CS_STRING, '/^inputmode$/i' => Attribute::CS_STRING, '/^maxlength$/i' => Attribute::CS_STRING, '/^minlength$/i' => Attribute::CS_STRING, '/^name$/i' => Attribute::CS_STRING, '/^placeholder$/i' => Attribute::CS_STRING, '/^readonly$/i' => Attribute::BOOL, '/^required$/i' => Attribute::BOOL, '/^rows$/i' => Attribute::INT, '/^wrap$/i' => Attribute::CI_ENUM . '("","soft","hard"|"soft")'); return array_merge($textareaAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $menuAllowedAttributes = array('/^type$/i' => Attribute::CI_ENUM . '("","context","toolbar"|"context")', '/^label$/i' => Attribute::CS_STRING); return array_merge($menuAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $progressAllowedAttributes = array('/^value$/i' => Attribute::CS_STRING, '/^max$/i' => Attribute::CS_STRING); return array_merge($progressAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $htmlAllowedAttributes = array('/^manifest$/i' => Attribute::URI); return array_merge($htmlAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $aAllowedAttributes = array('/^href$/i' => Attribute::URI, '/^target$/i' => Attribute::CS_STRING, '/^download$/i' => Attribute::CS_STRING, '/^ping$/i' => Attribute::URI, '/^rel$/i' => Attribute::CS_STRING, '/^hreflang$/i' => Attribute::CS_STRING, '/^type$/i' => Attribute::CS_STRING, '/^referrerpolicy$/i' => Attribute::CS_STRING); return array_merge($aAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $selectAllowedAttributes = array('/^autocomplete$/i' => Attribute::CS_STRING, '/^autofocus$/i' => Attribute::BOOL, '/^disabled$/i' => Attribute::BOOL, '/^form$/i' => Attribute::CS_STRING, '/^multiple$/i' => Attribute::BOOL, '/^name$/i' => Attribute::CS_STRING, '/^type$/i' => Attribute::CI_ENUM . '("submit","reset","button","menu"|"submit")', '/^value$/i' => Attribute::CS_STRING); return array_merge($selectAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $iframeAllowedAttributes = array('/^src$/i' => Attribute::URI, '/^srcdoc$/i' => Attribute::CS_STRING, '/^name$/i' => Attribute::CS_STRING, '/^sandbox$/i' => Attribute::CS_STRING, '/^allowfullscreen$/i' => Attribute::CS_STRING, '/^width$/i' => Attribute::INT, '/^height$/i' => Attribute::INT, '/^referrerpolicy$/i' => Attribute::CS_STRING); return array_merge($iframeAllowedAttributes, parent::getAllowedAttributes()); }
protected function getAllowedAttributes() { $styleAllowedAttributes = array('/^media$/i' => Attribute::CS_STRING, '/^nonce$/i' => Attribute::CS_STRING, '/^type$/i' => Attribute::CI_STRING, '/^scoped$/i' => Attribute::CI_STRING); return array_merge($styleAllowedAttributes, parent::getAllowedAttributes()); }