public function __construct(View $view, $settings = [])
 {
     parent::__construct($view, $settings);
     #use 'disposable' entity for Title
     $title = ['tag' => 'h1'];
     #b/c it has nothing special
     $this->Title = new BootstrapHelperEntity($view, $settings + $title);
 }
 /**
  * Automagic constructor for Multipart Entity classes that will loop through $parts and instantiate entity part classes.
  * 
  * e.g. If given 
  * 		$this->parts = array('Image'=>'BootstrapThumbnailImageEntity', 'Caption');
  * it would automatically do the following
  *  	$this->Image = new BootstrapThumbnailImageEntity($view, $settings);
  *		$this->Caption = new BootstrapHelperEntity($view, $settings);
  * 
  * @param View $view 
  * @param array $settings 
  * @return void
  */
 public function __construct(View $view, $settings = array())
 {
     parent::__construct($view, $settings);
     foreach ($this->parts as $key => $value) {
         if (is_integer($key) && is_string($value)) {
             $this->{$value} = new $this->_defaultPartClass($view, $settings);
             $this->{$value}->setParentNode($this);
         } elseif (is_string($key) && is_string($value)) {
             $this->{$key} = new $value($view, $settings);
             $this->{$key}->setParentNode($this);
         } else {
             throw new BootstrapFrameworkException('Malformed Multipart for Class ' . get_class() . '. Was given [' . (string) $key . ']=>[' . (string) $value . ']');
         }
     }
 }
 public function __construct(View $view, $settings = array())
 {
     parent::__construct($view, $settings);
     $this->Body = new BootstrapJumbotronBodyEntity($view, $settings);
     $this->Title = new BootstrapJumbotronTitleEntity($view, $settings);
 }