public function viewAction()
 {
     $name = $this->_getParam('name');
     $proxy = new SxModule_Topcontentblock_Proxy();
     $block = $proxy->getByBlockname($name, $_SESSION['System']['lng']);
     $this->view->spacer = $this->_getParam('spacer');
     $this->view->block = $block;
 }
Esempio n. 2
0
 public function getByName($name, $lng = 'nl')
 {
     $proxy = new SxModule_Topcontentblock_Proxy();
     return $proxy->getByBlockname($name, $lng);
 }