code/template/filter/block.php
public function getBlocks($name)
    {
        $result = array();

        if(isset($this->__blocks[$name])) {
            $result = $this->__blocks[$name];
        }

        return $result;
    }
public function getBlocks($name)
    {
        $result = array();

        if(isset($this->__blocks[$name])) {
            $result = $this->__blocks[$name];
        }

        return $result;
    }
public function getBlocks ( $ name ) { $ result = array ( ) ; if ( isset ( $ this -> __blocks [ $ name ] ) ) { $ result = $ this -> __blocks [ $ name ] ; } return $ result ; }
Get the blocks by name

@param $name
@return array List of blocks
Get the blocks by name