Esempio n. 1
0
 /**
  * constructor: initialize the service and the default data
  * @return Role
  */
 public function __construct()
 {
     parent::__construct();
     //the service is initialized by default
     $this->service = tao_models_classes_RoleService::singleton();
     $this->defaultData();
 }
 /**
  * constructor: initialize the service and the default data
  *
  * @author Joel Bout <*****@*****.**>
  */
 public function __construct()
 {
     parent::__construct();
     //the service is initialized by default
     $this->service = taoResults_models_classes_ResultsService::singleton();
     $this->resultGridOptions = array('columns' => array(RDFS_LABEL => array('weight' => 2), PROPERTY_RESULT_OF_DELIVERY => array('weight' => 2), PROPERTY_RESULT_OF_SUBJECT => array('weight' => 2)));
     $this->defaultData();
 }
 /**
  * constructor
  *
  * @author Patrick Plichart, <*****@*****.**>
  */
 public function __construct()
 {
     parent::__construct();
     $this->service = taoResults_models_classes_StatisticsService::singleton();
     $this->defaultData();
     //TODO define a hook for implemeitng differently the report structure with an interface
     $this->reportService = taoResults_models_classes_ReportService::singleton();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->processMonitoringGridOptions = array('columns' => array(RDFS_LABEL => array('weight' => 3), PROPERTY_PROCESSINSTANCES_EXECUTIONOF => array('weight' => 2), PROPERTY_PROCESSINSTANCES_CURRENTACTIVITYEXECUTIONS => array('weight' => 6, 'widget' => 'CurrentActivities', 'columns' => array('variables' => array('widget' => 'ActivityVariables', 'columns' => array('value' => array('weight' => 3, 'widget' => 'ActivityVariable')))))));
     $this->variableService = wfEngine_models_classes_VariableService::singleton();
 }
 /**
  * (non-PHPdoc)
  * @see tao_actions_TaoModule::addInstance()
  */
 public function addInstance()
 {
     parent::addInstance();
 }
 /**
  * constructor uses default TaoService
  */
 public function __construct()
 {
     parent::__construct();
     $this->service = tao_models_classes_TaoService::singleton();
 }
 public function editProcessClass()
 {
     $this->removeSessionAttribute('uri');
     parent::index();
 }