/** * @param ChameleonTemplate $template * @param \DOMElement|null $domElement * @param int $indent */ public function __construct(ChameleonTemplate $template, \DOMElement $domElement = null, $indent = 0) { parent::__construct($template, $domElement, $indent); // add classes for the normal case where the page tools are displayed as a first class element; // these classes should be removed if the page tools are part of another element, e.g. nav bar $this->addClasses('list-inline text-center'); }
public function __construct(ChameleonTemplate $template, \DOMElement $domElement = null, $indent = 0) { parent::__construct($template, $domElement, $indent); $this->addClasses('list-unstyled small'); }
/** * @param Component $component * @param \DOMElement $domElement */ public function __construct(Component $component, \DOMElement $domElement = null) { $this->component = $component; parent::__construct($component->getSkinTemplate(), $domElement, $component->getIndent()); }