public function __construct() { parent::__construct(); /* This is the only privilege acceptable for these pages. * Overrides anything that might have been set in the parent. */ $this->auth_classes = array('sysadmin'); }
public function __construct() { global $FANNIE_COOP_ID; parent::__construct(); // If saving, set higher priv: members_edit_full if (isset($FANNIE_COOP_ID) && $FANNIE_COOP_ID == 'WEFC_Toronto') { $this->auth_classes = array('members_edit_full'); $this->auth_classes[] = 'editmembers'; } }
public function __construct() { FanniePage::__construct(); // Link to a file of CSS by using a function. $this->add_css_file("../src/style.css"); $this->add_css_file("../src/javascript/jquery-ui.css"); $this->add_css_file("../src/css/install.css"); // Link to a file of JS by using a function. $this->add_script("../src/javascript/jquery.js"); $this->add_script("../src/javascript/jquery-ui.js"); // __construct() }
public function __construct() { // To set authentication. FanniePage::__construct(); // Link to a file of CSS by using a function. $this->add_css_file("../src/style.css"); $this->add_css_file("../src/css/configurable.php"); $this->add_css_file("../src/javascript/jquery-ui.css"); $this->add_css_file("../src/css/install.css"); // Link to a file of JS by using a function. $this->add_script("../src/javascript/jquery.js"); $this->add_script("../src/javascript/jquery-ui.js"); // __construct() }
public function __construct() { // To set authentication. FanniePage::__construct(); $SRC = '../src'; // Link to a file of CSS by using a function. $this->add_css_file("{$SRC}/style.css"); $this->add_css_file("{$SRC}/javascript/jquery-ui.css"); $this->add_css_file("{$SRC}/css/install.css"); $this->add_css_file("{$SRC}/css/toggle-switch.css"); // Link to a file of JS by using a function. $this->add_script("{$SRC}/javascript/jquery.js"); $this->add_script("{$SRC}/javascript/jquery-ui.js"); // __construct() }
public function __construct() { // To set authentication. FanniePage::__construct(); // Why do this here instead of above? //$this->title = "Fannie: Membership Settings"; //$this->header = "Fannie: Membership Settings"; // Link to a file of CSS by using a function. $this->add_css_file("../src/style.css"); $this->add_css_file("../src/javascript/jquery-ui.css"); $this->add_css_file("../src/css/install.css"); // Link to a file of JS by using a function. $this->add_script("../src/javascript/jquery.js"); $this->add_script("../src/javascript/jquery-ui.js"); // __construct() }
public function __construct() { // To set authentication. FanniePage::__construct(); // Link to a file of CSS by using a function. $this->add_css_file("../src/javascript/jquery-ui.css"); $this->add_css_file("../src/css/install.css"); // Link to a file of JS by using a function. $this->add_script("../src/javascript/jquery.js"); $this->add_script("../src/javascript/jquery-ui.js"); $this->add_script('../src/javascript/syntax-highlighter/scripts/jquery.syntaxhighlighter.min.js'); $this->add_onload_command(' $.SyntaxHighlighter.init({ baseUrl: \'../src/javascript/syntax-highlighter\', prettifyBaseUrl: \'../src/javascript/syntax-highlighter/prettify\', wrapLines: false });'); // __construct() }
public function __construct() { $this->routing_trait = new \COREPOS\common\ui\CoreRESTfulRouter(); $this->form = new COREPOS\common\mvc\FormValueContainer(); parent::__construct(); }
public function __construct() { // To set authentication. parent::__construct(); }