Files
luos/workflow/engine/classes/features/ViewContainers/ViewContainer.php
2015-02-13 16:19:01 -04:00

26 lines
386 B
PHP

<?php
namespace Features\ViewContainers;
/**
* Description of Container
*
*/
class ViewContainer
{
protected $viewList = array();
public function register($view)
{
$this->viewList[] = $view;
}
public function getView($id)
{
return $this->viewList[$id];
}
public function getAllViews()
{
return $this->viewList;
}
}