X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/8782288c3f53321a0f1d41bb9f8450aaf838be14..f4200ccdcc70dccb86086059c453595dcb51674b:/lib/MECON/Marco.php?ds=sidebyside diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php index 3450bbc..85cd4bb 100644 --- a/lib/MECON/Marco.php +++ b/lib/MECON/Marco.php @@ -217,6 +217,9 @@ Si es un objeto debe tener un metodo toHtml y opcionalmente puede tener un getCS */ function addMenuVertical($menuVertical) // ~X2C { + if ((is_object($menuVertical)) && (method_exists($menuVertical, 'getcss'))) { + $this->addStyleSheet($menuVertical->getCSS()); + } $this->_menuVertical = $menuVertical; } // -X2C