Beispiel #1
0
 /**
  * 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';
 }
Beispiel #2
0
 /**
  * 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();
 }
Beispiel #3
0
		          
		          <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();