/** * {@inheritdoc} */ protected function generateSourceFromChildren() { $this->translate(); $source = parent::generateSourceFromChildren(); $source["value"] = $this->value; return $source; }
/** * Constructor */ public function __construct(array $children = array(), array $tags = array()) { if (empty($children)) { $children = array(new LinkBlock(), new LinkBlock()); } parent::__construct($children, $tags); }
protected function generateSourceFromChildren() { $source = parent::generateSourceFromChildren(); $source["service_title"] = $this->serviceTitle; $source["service_description"] = $this->serviceDescription; return $source; }
protected function generateSourceFromChildren() { $source = parent::generateSourceFromChildren(); $source["member_name"] = $this->memberName; $source["member_role"] = $this->memberRole; return $source; }
protected function generateSourceFromChildren() { $source = parent::generateSourceFromChildren(); $source["year"] = $this->year; $source["subtitle"] = $this->subtitle; $source["body"] = $this->body; return $source; }
/** * 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); }
protected function generateSourceFromChildren() { $source = parent::generateSourceFromChildren(); $source["hover_icon"] = $this->hoverIcon; $source["title"] = $this->title; $source["subtitle"] = $this->subtitle; $source["modal_title"] = $this->modalTitle; $source["modal_description"] = $this->modalDescription; $source["modal_body"] = $this->modalBody; return $source; }
/** * 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); }