/** * Constructor */ public function __construct(array $children = array(), array $tags = array()) { if (empty($children)) { $children = array(new LinkBlock(), new LinkBlock()); } parent::__construct($children, $tags); }
/** * Contructor */ public function __construct() { $iconChildren = array(new IconBlock("", array('class' => "fa fa-circle fa-stack-2x text-primary")), new IconBlock("", array('class' => "fa fa-shopping-cart fa-stack-1x fa-inverse"))); $children = array(new IconStackedBlock($iconChildren, "", array("class" => "fa-stack fa-4x"))); $tags = array("class" => "col-md-4"); parent::__construct($children, $tags); }
/** * Constructor */ public function __construct() { $imageTags = array('src' => '/plugins/timeline/images/timeline.jpg', 'class' => 'img-responsive img-circle', 'title' => '', 'alt' => ''); $children = array(new ImageBlock(null, $imageTags)); $tags = array('class' => 'timeline'); parent::__construct($children, $tags); }
/** * Constructor */ public function __construct() { $thumbImageTags = array('src' => '/plugins/portfolio/images/portfolio-thumb.png', 'class' => 'img-responsive', 'title' => '', 'alt' => ''); $imageTags = array('src' => '/plugins/portfolio/images/portfolio.png', 'class' => 'img-responsive', 'title' => '', 'alt' => ''); $children = array(new ImageBlock(null, $thumbImageTags), new ImageBlock(null, $imageTags)); $tags = array('class' => 'portfolio-item col-md-4 col-sm-6'); parent::__construct($children, $tags); }
/** * Contructor */ public function __construct() { $imageTags = array('src' => '/plugins/memberteam/images/team.jpg', 'class' => 'img-responsive img-circle', 'title' => '', 'alt' => ''); $menuTags = array('class' => "list-inline social-buttons"); $menuChildren = array(new LinkBlock('', array('class' => 'fa fa-twitter')), new LinkBlock('', array('class' => 'fa fa-facebook')), new LinkBlock('', array('class' => 'fa fa-linkedin'))); $children = array(new ImageBlock(null, $imageTags), new MenuBlock($menuChildren, $menuTags)); parent::__construct($children, array('class' => 'col-sm-4')); }
/** * Contructor */ public function __construct($children = null, $value = null, array $tags = array()) { if (null === $children) { $children = array(new IconBlock("", array('class' => "fa fa-circle-o fa-stack-2x")), new IconBlock("", array('class' => "fa fa-cog fa-stack-1x"))); } if (null !== $value) { $this->value = $value; } $this->tags = array('class' => 'fa-stack fa-lg'); if (!empty($tags)) { $this->tags = $tags; } parent::__construct($children, $tags); }
/** * Contructor */ public function __construct() { $children = array(new AgencyServiceBlock(), new AgencyServiceBlock(), new AgencyServiceBlock()); parent::__construct($children); }
/** * Contructor */ public function __construct() { $children = array(new TimeLineItemBlock(), new TimeLineEmptyItemBlock()); $tags = array('class' => 'timeline'); parent::__construct($children, $tags); }
/** * Constructor */ public function __construct() { $children = array(new IconBlock()); parent::__construct($children); }
/** * Contructor */ public function __construct() { $children = array(new PortfolioItemBlock(), new PortfolioItemBlock(), new PortfolioItemBlock()); parent::__construct($children); }
/** * Contructor */ public function __construct() { $children = array(new MemberTeamBlock()); parent::__construct($children); }