public function __construct() { parent::__construct(); $read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller'); //1 $add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller'); //2 $edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller'); //4 $delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller'); //8 $manage = $GLOBALS['phpgw']->acl->check('.control', 16, 'controller'); //16 $this->so = CreateObject('controller.socheck_list'); $this->so_control = CreateObject('controller.socontrol'); $this->so_control_group = CreateObject('controller.socontrol_group'); $this->so_control_group_list = CreateObject('controller.socontrol_group_list'); $this->so_control_item = CreateObject('controller.socontrol_item'); $this->so_check_list = CreateObject('controller.socheck_list'); $this->so_check_item = CreateObject('controller.socheck_item'); $this->location_finder = new location_finder(); self::set_active_menu('controller::location_check_list'); if (phpgw::get_var('noframework', 'bool')) { $GLOBALS['phpgw_info']['flags']['noframework'] = true; phpgwapi_cache::session_set('controller', 'noframework', true); } else { if (phpgwapi_cache::session_get('controller', 'noframework')) { $GLOBALS['phpgw_info']['flags']['noframework'] = true; } } }
public function __construct() { parent::__construct(); $this->so = createObject('logistic.sorequirement_resource_allocation'); $this->so_activity = createObject('logistic.soactivity'); $this->so_requirement = createObject('logistic.sorequirement'); $this->so_requirement_value = CreateObject('logistic.sorequirement_value'); $this->bo = CreateObject('property.bolocation', true); $this->bocommon =& $this->bo->bocommon; $this->type_id = $this->bo->type_id; $this->start = $this->bo->start; $this->query = $this->bo->query; $this->sort = $this->bo->sort; $this->order = $this->bo->order; $this->filter = $this->bo->filter; $this->cat_id = $this->bo->cat_id; $this->part_of_town_id = $this->bo->part_of_town_id; $this->district_id = $this->bo->district_id; $this->status = $this->bo->status; $this->allrows = $this->bo->allrows; $this->lookup = $this->bo->lookup; $this->location_code = $this->bo->location_code; $this->read = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_READ, 'logistic'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_ADD, 'logistic'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_EDIT, 'logistic'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_DELETE, 'logistic'); //8 $this->manage = $GLOBALS['phpgw']->acl->check('.activity', 16, 'logistic'); //16 }
public function __construct() { parent::__construct('controller'); $this->read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller'); //8 $this->manage = $GLOBALS['phpgw']->acl->check('.control', 16, 'controller'); //16 //if(!$manage) $this->so = CreateObject('controller.socontrol'); $this->bo = CreateObject('property.boevent', true); $this->so_procedure = CreateObject('controller.soprocedure'); $this->so_control_group = CreateObject('controller.socontrol_group'); $this->so_control_item = CreateObject('controller.socontrol_item'); $this->so_control_item_list = CreateObject('controller.socontrol_item_list'); $this->so_control_group_list = CreateObject('controller.socontrol_group_list'); $this->so_check_list = CreateObject('controller.socheck_list'); $this->so_check_item = CreateObject('controller.socheck_item'); $config = CreateObject('phpgwapi.config', 'controller'); $config->read(); $this->_category_acl = isset($config->config_data['acl_at_control_area']) && $config->config_data['acl_at_control_area'] == 1 ? true : false; $this->home_alternative = isset($config->config_data['home_alternative']) && $config->config_data['home_alternative'] == 1 ? true : false; self::set_active_menu('controller::control'); }
function __construct() { parent::__construct(); $this->so_control = CreateObject('controller.socontrol'); $this->so = CreateObject('controller.socheck_list'); $this->so_control_item = CreateObject('controller.socontrol_item'); $this->so_check_item = CreateObject('controller.socheck_item'); $this->so_procedure = CreateObject('controller.soprocedure'); $this->so_control_group_list = CreateObject('controller.socontrol_group_list'); $this->so_control_group = CreateObject('controller.socontrol_group'); $this->so_control_item_list = CreateObject('controller.socontrol_item_list'); $this->so_case = CreateObject('controller.socase'); $this->location_finder = new location_finder(); $this->acl_location = '.checklist'; $this->read = $GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_READ, 'controller'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_ADD, 'controller'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_EDIT, 'controller'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_DELETE, 'controller'); //8 self::set_active_menu('controller::control::check_list'); if (phpgw::get_var('noframework', 'bool')) { $GLOBALS['phpgw_info']['flags']['noframework'] = true; phpgwapi_cache::session_set('controller', 'noframework', true); } else { if (phpgwapi_cache::session_get('controller', 'noframework')) { $GLOBALS['phpgw_info']['flags']['noframework'] = true; } } }
function __construct() { parent::__construct(); $GLOBALS['phpgw_info']['flags']['xslt_app'] = true; $this->account = $GLOBALS['phpgw_info']['user']['account_id']; $this->bo = CreateObject('property.bogeneric', true); $this->bo->get_location_info(); $this->bocommon =& $this->bo->bocommon; $this->custom =& $this->bo->custom; $this->location_info = $this->bo->location_info; $GLOBALS['phpgw_info']['flags']['menu_selection'] = $this->location_info['menu_selection']; $this->acl =& $GLOBALS['phpgw']->acl; $this->acl_location = $this->location_info['acl_location']; $this->acl_read = $this->acl->check($this->acl_location, PHPGW_ACL_READ, $this->location_info['acl_app']); $this->acl_add = $this->acl->check($this->acl_location, PHPGW_ACL_ADD, $this->location_info['acl_app']); $this->acl_edit = $this->acl->check($this->acl_location, PHPGW_ACL_EDIT, $this->location_info['acl_app']); $this->acl_delete = $this->acl->check($this->acl_location, PHPGW_ACL_DELETE, $this->location_info['acl_app']); $this->acl_manage = $this->acl->check($this->acl_location, 16, $this->location_info['acl_app']); $this->start = $this->bo->start; $this->query = $this->bo->query; $this->sort = $this->bo->sort; $this->order = $this->bo->order; $this->allrows = $this->bo->allrows; $this->type = $this->bo->type; $this->type_id = $this->bo->type_id; if ($appname = $this->bo->appname) { $GLOBALS['phpgw_info']['flags']['menu_selection'] = str_replace('property', $appname, $GLOBALS['phpgw_info']['flags']['menu_selection']); $this->appname = $appname; } }
public function __construct() { parent::__construct(); $this->so = CreateObject('logistic.sorequirement'); $this->so_requirement_value = CreateObject('logistic.sorequirement_value'); $this->so_entity = CreateObject('property.soadmin_entity'); $this->so_activity = CreateObject('logistic.soactivity'); $this->so_project = CreateObject('logistic.soproject'); $this->so_resource_type_requirement = CreateObject('logistic.soresource_type_requirement'); $this->so_resource_allocation = CreateObject('logistic.sorequirement_resource_allocation'); $GLOBALS['phpgw_info']['flags']['menu_selection'] = "logistic::project::requirement"; /* if( $this->nonavbar = phpgw::get_var('nonavbar', 'bool')) { $GLOBALS['phpgw_info']['flags']['nonavbar'] = $this->nonavbar; $GLOBALS['phpgw_info']['flags']['noheader_xsl'] = true; $GLOBALS['phpgw_info']['flags']['nofooter'] = true; } */ $GLOBALS['phpgw_info']['flags']['nonavbar'] = true; $GLOBALS['phpgw_info']['flags']['noheader_xsl'] = true; $GLOBALS['phpgw_info']['flags']['nofooter'] = true; $this->read = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_READ, 'logistic'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_ADD, 'logistic'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_EDIT, 'logistic'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_DELETE, 'logistic'); //8 $this->manage = $GLOBALS['phpgw']->acl->check('.activity', 16, 'logistic'); //16 }
public function __construct() { parent::__construct(); $this->so = controller_sodocument::get_instance(); $this->so_procedure = controller_soprocedure::get_instance(); $this->read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller'); //8 }
public function __construct() { parent::__construct(); $this->bo = CreateObject('property.bocondition_survey'); $this->bocommon =& $this->bo->bocommon; $this->acl =& $GLOBALS['phpgw']->acl; $this->acl_location = '.documents'; $this->acl_read = $this->acl->check($this->acl_location, PHPGW_ACL_READ, 'manual'); $this->acl_add = $this->acl->check($this->acl_location, PHPGW_ACL_ADD, 'manual'); $this->acl_edit = $this->acl->check($this->acl_location, PHPGW_ACL_EDIT, 'manual'); $this->acl_delete = $this->acl->check($this->acl_location, PHPGW_ACL_DELETE, 'manual'); $this->acl_manage = $this->acl->check($this->acl_location, 16, 'manual'); $GLOBALS['phpgw_info']['flags']['menu_selection'] = "manual"; }
public function __construct() { parent::__construct(); $this->bo = CreateObject('property.bocondition_survey'); $this->bocommon =& $this->bo->bocommon; $this->acl =& $GLOBALS['phpgw']->acl; $this->acl_location = $this->bo->acl_location; $this->acl_read = $this->acl->check($this->acl_location, PHPGW_ACL_READ, 'property'); $this->acl_add = $this->acl->check($this->acl_location, PHPGW_ACL_ADD, 'property'); $this->acl_edit = $this->acl->check($this->acl_location, PHPGW_ACL_EDIT, 'property'); $this->acl_delete = $this->acl->check($this->acl_location, PHPGW_ACL_DELETE, 'property'); $this->acl_manage = $this->acl->check($this->acl_location, 16, 'property'); $GLOBALS['phpgw_info']['flags']['menu_selection'] = "property::project::condition_survey"; // $GLOBALS['phpgw']->css->add_external_file('logistic/templates/base/css/base.css'); }
public function __construct() { parent::__construct(); $this->so = CreateObject('logistic.soproject'); $read = $GLOBALS['phpgw']->acl->check('.project', PHPGW_ACL_READ, 'logistic'); //1 $add = $GLOBALS['phpgw']->acl->check('.project', PHPGW_ACL_ADD, 'logistic'); //2 $edit = $GLOBALS['phpgw']->acl->check('.project', PHPGW_ACL_EDIT, 'logistic'); //4 $delete = $GLOBALS['phpgw']->acl->check('.project', PHPGW_ACL_DELETE, 'logistic'); //8 $manage = $GLOBALS['phpgw']->acl->check('.project', 16, 'logistic'); //16 $GLOBALS['phpgw_info']['flags']['menu_selection'] = "logistic::project"; }
function __construct() { parent::__construct(); $this->bo = CreateObject('registration.bopending', true); $this->bocommon = CreateObject('property.bocommon'); $c = createobject('phpgwapi.config', 'registration'); $c->read(); $this->config = $c->config_data; $this->start = $this->bo->start; $this->query = $this->bo->query; $this->sort = $this->bo->sort; $this->order = $this->bo->order; $this->filter = $this->bo->filter; $this->status_id = $this->bo->status_id; $this->allrows = $this->bo->allrows; self::set_active_menu('registration::pending'); }
public function __construct() { parent::__construct(); $this->so = CreateObject('controller.socontrol_item'); $this->so_control_item_list = CreateObject('controller.socontrol_item_list'); $this->so_control_group = CreateObject('controller.socontrol_group'); $this->so_control_item_option = CreateObject('controller.socontrol_item_option'); $GLOBALS['phpgw_info']['flags']['menu_selection'] = "controller::control_item"; $this->read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller'); //8 }
public function __construct() { parent::__construct(); $this->so = createObject('logistic.soactivity'); $this->so_project = createObject('logistic.soproject'); $this->so_requirement = CreateObject('logistic.sorequirement'); $this->so_resource_allocation = CreateObject('logistic.sorequirement_resource_allocation'); $GLOBALS['phpgw_info']['flags']['menu_selection'] = "logistic::project::activity"; $this->acl_read = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_READ, 'logistic'); //1 $this->acl_add = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_ADD, 'logistic'); //2 $this->acl_edit = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_EDIT, 'logistic'); //4 $this->acl_delete = $GLOBALS['phpgw']->acl->check('.activity', PHPGW_ACL_DELETE, 'logistic'); //8 $this->acl_manage = $GLOBALS['phpgw']->acl->check('.activity', 16, 'logistic'); //16 }
public function __construct() { parent::__construct(); $this->so = CreateObject('controller.soprocedure'); $this->so_control = CreateObject('controller.socontrol'); $this->so_control_group_list = CreateObject('controller.socontrol_group_list'); $this->so_control_group = CreateObject('controller.socontrol_group'); $GLOBALS['phpgw_info']['flags']['menu_selection'] = "controller::procedure"; $this->read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller'); //8 $config = CreateObject('phpgwapi.config', 'controller'); $config->read(); $this->_category_acl = isset($config->config_data['acl_at_control_area']) && $config->config_data['acl_at_control_area'] == 1 ? true : false; //$this->bo = CreateObject('property.boevent',true); }
function __construct() { parent::__construct(); $this->bo = CreateObject('property.bolocation', true); $this->bocommon =& $this->bo->bocommon; $this->so_control = CreateObject('controller.socontrol'); $this->type_id = $this->bo->type_id; $this->start = $this->bo->start; $this->query = $this->bo->query; $this->sort = $this->bo->sort; $this->order = $this->bo->order; $this->filter = $this->bo->filter; $this->cat_id = $this->bo->cat_id; $this->part_of_town_id = $this->bo->part_of_town_id; $this->district_id = $this->bo->district_id; $this->status = $this->bo->status; $this->allrows = $this->bo->allrows; $this->lookup = $this->bo->lookup; $this->location_code = $this->bo->location_code; self::set_active_menu('controller::control::location_for_check_list'); }
public function __construct() { parent::__construct('controller'); $this->read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller'); //1 $this->add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller'); //2 $this->edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller'); //4 $this->delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller'); //8 $this->manage = $GLOBALS['phpgw']->acl->check('.control', 16, 'controller'); //16 // $this->so = CreateObject('controller.socontrol'); $config = CreateObject('phpgwapi.config', 'controller'); $config->read(); $this->_category_acl = isset($config->config_data['acl_at_control_area']) && $config->config_data['acl_at_control_area'] == 1 ? true : false; self::set_active_menu('controller::status_components'); $this->account = $GLOBALS['phpgw_info']['user']['account_id']; if (phpgw::get_var('noframework', 'bool')) { $GLOBALS['phpgw_info']['flags']['noframework'] = true; } }
public function __construct() { parent::__construct(); }