function attach(uiElement &$element) { // only uiMgmtBigMenuItems can be attached to uiMgmtBigMenus if ($element->getClassName() == "uiMgmtBigMenuItem") { parent::attach(&$element); } }
function attach(uiElement $element) { // can only attach, if we are a dropdown-box if ($this->elementType == "dropdown") { parent::attach(&$element); } else { return 0; } }
function attach(uiElement $element) { // we can attach everything as child element parent::attach(&$element); }