X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/8782288c3f53321a0f1d41bb9f8450aaf838be14..304f4e6067bb93c9be26a21fcabb6ac84bc4724b:/lib/MECON/Marco.php?ds=inline 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