mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-08 20:46:05 +00:00
add visibility of methods
This commit is contained in:
parent
8cc6a417c8
commit
cd448c160b
|
@ -44,7 +44,7 @@ class UI extends UI_Default {
|
|||
* @param array $params parameter passed to constructor of view class
|
||||
* @return object an object of a class implementing the view
|
||||
*/
|
||||
static function factory($theme, $class='', $params=array()) { /* {{{ */
|
||||
static public function factory($theme, $class='', $params=array()) { /* {{{ */
|
||||
global $settings, $session, $extMgr, $request, $logger, $notifier;
|
||||
if(!$class) {
|
||||
$class = 'Bootstrap';
|
||||
|
@ -174,7 +174,7 @@ class UI extends UI_Default {
|
|||
return null;
|
||||
} /* }}} */
|
||||
|
||||
static function getStyles() { /* {{{ */
|
||||
static public function getStyles() { /* {{{ */
|
||||
global $settings;
|
||||
|
||||
$themes = array();
|
||||
|
@ -191,7 +191,7 @@ class UI extends UI_Default {
|
|||
return $themes;
|
||||
} /* }}} */
|
||||
|
||||
static function exitError($pagetitle, $error, $noexit=false, $plain=false) {
|
||||
static public function exitError($pagetitle, $error, $noexit=false, $plain=false) {
|
||||
global $theme, $dms, $user, $settings;
|
||||
$accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings);
|
||||
$view = UI::factory($theme, 'ErrorDlg');
|
||||
|
|
Loading…
Reference in New Issue
Block a user