/** * Public constructor * * @param int $spacing The Spacing of the box * @param int $border Border size * @access public */ function Division() { parent::init(); $this->_class = 'piwi_division'; }
/** * Public constructor * * @param int $spacing The Spacing of the box * @param int $border Border size * @access public */ function HBox($spacing = 0, $border = 0) { $this->setBorder($border); $this->setName('hbox' . rand(1, 100)); parent::init(); }
<div class='box-image'> <?php echo $content; ?> </div> <div class='box-header'> <h3 class='box-header-content'><?php echo $title; ?> </h3> <div class='box-header-sub'> <span><?php echo $caption; ?> </span> </div> </div> </div> </div> </div> <?php $content = ob_get_clean(); return $content; } } Box::init();