Adding the features ui adhoc

This commit is contained in:
Gustavo Cruz
2015-02-13 16:19:01 -04:00
parent 3a5057265f
commit 550e7bcc06
71 changed files with 8908 additions and 267 deletions

View File

@@ -0,0 +1,10 @@
<?php
namespace Features\ViewContainers;
/**
* Description of TaskContainer
*
*/
class TaskContainer extends ViewContainer
{
}

View File

@@ -0,0 +1,10 @@
<?php
namespace Features\ViewContainers;
/**
* Description of TriggerContainer
*
*/
class TriggerContainer extends ViewContainer
{
}

View File

@@ -0,0 +1,25 @@
<?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;
}
}