. * * @file * @ingroup Skins */ namespace Skins\Chameleon\Components; /** * The Container class. * * It will wrap its content elements in a DIV. * * Supported attributes: * - class * * @author Stephan Gambke * @since 1.0 * @ingroup Skins */ class Container extends Structure { /** * Builds the HTML code for the main container * * @return String the HTML code */ public function getHtml(){ $ret = $this->indent() . \Html::openElement( 'div', array( 'class' => $this->getClassString() ) ); $this->indent( 1 ); $ret .= parent::getHtml(); $ret .= $this->indent( -1 ) . ''; return $ret; } }