Author: Brent Baisley (brent@bigstockphoto.com)
Example #1
0
 /**
  * Merge content blocks for this instance with passed instance
  *
  * @param \Basecoat\View $view Instance to add content blocks to
  * @return Integer number of content blocks merged
  */
 public function addToView($view)
 {
     $view->multiadd($this->blocks);
     return count($this->blocks);
 }