Example #1
0
 public function __construct($name, $parameters = array())
 {
     parent::__construct($name, $parameters);
     $this->folderDao = $this->getObject('dao.folder');
     $this->uploadDao = $this->getObject('dao.upload');
     $this->logger = $this->getObject('logger');
 }
Example #2
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Private: schedule a bulk scan from post"), self::PERMISSION => Auth::PERM_WRITE));
     $this->dbManager = $this->getObject('db.manager');
     $this->licenseDao = $this->getObject('dao.license');
     $this->uploadDao = $this->getObject('dao.upload');
 }
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Ajax: File Browser"), self::DEPENDENCIES => array("fileBrowse"), self::PERMISSION => Auth::PERM_READ));
     $this->uploadDao = $this->getObject('dao.upload');
     $this->licenseDao = $this->getObject('dao.license');
     $this->agentDao = $this->getObject('dao.agent');
 }
Example #4
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => "One-Shot Monk", self::MENU_LIST => "Upload::One-Shot Monk", self::PERMISSION => Auth::PERM_WRITE, self::REQUIRES_LOGIN => true));
     $this->highlightProcessor = $this->getObject('view.highlight_processor');
     $this->highlightRenderer = $this->getObject('view.highlight_renderer');
     $this->textRenderer = $this->getObject('view.text_renderer');
 }
 protected function RegisterMenus()
 {
     parent::RegisterMenus();
     if (!$this->isRequiresLogin() || $this->isLoggedIn()) {
         menu_insert("Main::Organize::Uploads::Move or Copy", 0, $this->name, $this->name);
     }
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => "Admin License Candidates", self::MENU_LIST => "Admin::License Admin::Candidates", self::REQUIRES_LOGIN => true, self::PERMISSION => Auth::PERM_ADMIN));
     $this->highlightProcessor = $this->getObject('view.highlight_processor');
     $this->highlightRenderer = $this->getObject('view.highlight_renderer');
     $this->textRenderer = $this->getObject('view.text_renderer');
     $this->licenseDao = $this->getObject('dao.license');
 }
Example #7
0
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("File Browser"), self::DEPENDENCIES => array("browse", "view"), self::PERMISSION => Auth::PERM_READ));
     global $container;
     $this->uploadDao = $container->get('dao.upload');
     $this->licenseDao = $container->get('dao.license');
     $this->agentDao = $container->get('dao.agent');
 }
 function __construct()
 {
     $possibleOutputFormat = trim(GetParm("outputFormat", PARM_STRING));
     if (strcmp($possibleOutputFormat, "") !== 0 && strcmp($possibleOutputFormat, self::DEFAULT_OUTPUT_FORMAT) !== 0 && ctype_alnum($possibleOutputFormat)) {
         $this->outputFormat = $possibleOutputFormat;
     }
     parent::__construct(self::NAME, array(self::TITLE => _(strtoupper($this->outputFormat) . " generation"), self::PERMISSION => Auth::PERM_WRITE, self::REQUIRES_LOGIN => true));
 }
Example #9
0
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Ajax: License Browser"), self::DEPENDENCIES => array("license"), self::PERMISSION => Auth::PERM_READ));
     $this->uploadDao = $this->getObject('dao.upload');
     $this->licenseDao = $this->getObject('dao.license');
     $this->clearingDao = $this->getObject('dao.clearing');
     $this->agentDao = $this->getObject('dao.agent');
     $this->clearingFilter = $this->getObject('businessrules.clearing_decision_filter');
 }
Example #10
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::PERMISSION => Auth::PERM_READ));
     global $container;
     $this->uploadDao = $container->get('dao.upload');
     $this->userDao = $container->get('dao.user');
     $this->dbManager = $container->get('db.manager');
     $this->dataTablesUtility = $container->get('utils.data_tables_utility');
 }
Example #11
0
 function __construct($name, $params)
 {
     $mergedParams = array_merge($params, array(self::DEPENDENCIES => array("browse", "view"), self::PERMISSION => Auth::PERM_READ));
     parent::__construct($name, $mergedParams);
     $this->agentName = $this->tableName;
     $this->uploadDao = $this->getObject('dao.upload');
     $this->copyrightDao = $this->getObject('dao.copyright');
     $this->agentDao = $this->getObject('dao.agent');
     $this->highlightRenderer = $this->getObject('view.highlight_renderer');
     $this->decisionTypes = $this->getObject('decision.types');
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("URL"), self::PERMISSION => Auth::PERM_WRITE));
     $this->dbManager = $this->getObject('db.manager');
 }
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("List Agents for an Upload as Options"), self::PERMISSION => Auth::PERM_READ));
 }
Example #14
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::PERMISSION => Auth::PERM_READ));
     $this->dbManager = $this->getObject('db.manager');
 }
Example #15
0
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Schedule an Analysis"), self::MENU_LIST => "Jobs::Schedule Agents", self::PERMISSION => Auth::PERM_WRITE));
 }
Example #16
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Private: schedule a agent scan from post"), self::PERMISSION => Auth::PERM_WRITE));
     $this->uploadDao = $this->getObject('dao.upload');
 }
Example #17
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("ReadME_OSS generation"), self::PERMISSION => Auth::PERM_WRITE, self::REQUIRES_LOGIN => TRUE));
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::PERMISSION => Auth::PERM_WRITE));
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Getting Started with FOSSology"), self::REQUIRES_LOGIN => false, self::MENU_LIST => "Help::Getting Started"));
 }
Example #20
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Edit User Account"), self::MENU_LIST => 'Admin::Users::Edit User Account', self::REQUIRES_LOGIN => true, self::PERMISSION => Auth::PERM_WRITE));
     $this->dbManager = $this->getObject('db.manager');
 }
Example #21
0
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Automatic Clearing Decision Reuser"), self::PERMISSION => Auth::PERM_WRITE));
     $this->folderDao = $this->getObject('dao.folder');
 }
 public function __construct($title, $parameters = array())
 {
     parent::__construct($title, $parameters);
     $this->response = Response::create();
 }
Example #23
0
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Demo Hello World"), self::MENU_LIST => "Help::Demo::Hello World", self::PERMISSION => Auth::PERM_READ));
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Delete Group"), self::MENU_LIST => "Admin::Groups::Delete Group", self::PERMISSION => Auth::PERM_WRITE, self::REQUIRES_LOGIN => TRUE));
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Unlink upload or folder"), self::MENU_LIST => "Organize::Folders::Unlink Content", self::PERMISSION => Auth::PERM_ADMIN, self::REQUIRES_LOGIN => TRUE));
     $this->folderDao = $GLOBALS['container']->get('dao.folder');
 }
Example #26
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::PERMISSION => Auth::PERM_READ));
     $this->uploadDao = $this->getObject('dao.upload');
     $this->clearingDao = $this->getObject('dao.clearing');
 }
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => "Admin License CSV Export", self::MENU_LIST => "Admin::License Admin::CSV Export", self::REQUIRES_LOGIN => true, self::PERMISSION => Auth::PERM_ADMIN));
 }
Example #28
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => "About Fossology", self::MENU_LIST => "Help::About", self::REQUIRES_LOGIN => false));
     $this->licenseDao = $this->getObject('dao.license');
 }
 public function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => _("Upload Instructions"), self::MENU_LIST => "Upload::Instructions", self::PERMISSION => Auth::PERM_WRITE));
 }
Example #30
0
 function __construct()
 {
     parent::__construct(self::NAME, array(self::TITLE => "Advice Licenses", self::MENU_LIST => "Organize::Licenses", self::REQUIRES_LOGIN => true));
 }