示例#1
0
  public  function __construct(CConfig $config)
  {
    $this->m_cConfig      = &$config;
    $this->m_confXml      = &$config->getConfTree("viewconfig");

    $this->m_templateDir  = $this->m_confXml["templatedir"]["xmlValue"] . "/";
  }
  public  function __construct(CConfig &$config)
  {
    $this->m_cConfig    = &$config;
    $this->m_urlXml     = array();

    $this->m_confXml    = &$config->getConfTree("pageurl");
    $this->m_xmlFile    = URL_XML_FILE;
  }
  public  function __construct(CConfig &$config, CModel &$model, CGlob &$glob)
  {
    $this->m_cConfig    = &$config;
    $this->m_cModel     = &$model;
    $this->m_cGlob      = &$glob;

    $this->m_confXml    = &$config->getConfTree("authentification", "database");
    $this->m_sysKey     = &$config->m_config["systemkey"]["xmlValue"];
  }
示例#4
0
  public function __construct(CConfig &$config)
  {
    /* init defaults */
    $this->m_cConfig  = &$config;
    $this->m_confXml  = &$config->getConfTree("user");
    $this->m_isLogin  = false;

    /* init CModelSet */
    $this->m_dataSet  = new CModelSet();
  }
  public  function __construct(CConfig &$config) 
  {
    /* init default */
    $this->m_cConfig      = &$config;

    $this->m_confXml      = &$config->getConfTree("modelconfig");
    $this->m_arrModSet    = array();
    $this->m_priorityQue  = array();
    $this->m_eventPrioQue = array();
    $this->m_eventSav     = array();
  }
  public  function __construct(CConfig &$config)
  {
    /* init defaults */
    $this->m_cConfig  = &$config;
    $this->m_confXml  = &$config->getConfTree("session");
    $this->m_sessData = array();

    /* add first part (path) of m_sessFile */
    $this->m_sessFile = $this->m_confXml["sessionpath"]["xmlValue"] . "/";

    /* add SystemKey */
    $this->m_sysKey   = &$this->m_cConfig->m_config["systemkey"]["xmlValue"];
  }
  public  function __construct(CConfig &$config, $file)
  {
    /* set default value */
    $this->m_file     = $file;
    $this->m_cConfig  = &$config;
    $this->m_confXml  = &$config->getConfTree("cache");
    $this->m_strict   = $this->m_confXml["usestrict"]["xmlValue"];

    /* replace '/' with '_' */
    $fileCacheName  = preg_replace("/(\/|\.|\s)/", "_", $file);
    $cachePath      = $this->m_confXml["cachepath"]["xmlValue"];
    $this->m_cacheN = $cachePath . "/" . md5($fileCacheName);
  }
  public  function __construct(CConfig &$config) {

    /* init default */
    $this->m_cConfig    = &$config;

    $this->m_confXml    = &$config->getConfTree("authentification", "core");
    $this->m_sysKey     = &$config->m_config["systemkey"]["xmlValue"];
    $this->m_success    = false;

    /* aktiviert/deaktiviert objekt */
    $this->m_enable     = &$this->m_confXml["enableauth"]["xmlValue"];
    /* beende dich, wenn nicht aktive */
    if ($this->m_enable == false) {
      return;
    }
  }
示例#9
0
 public  function __construct(CConfig &$conf)
 {
   $this->m_cConfig  = &$conf;
   $this->m_confXml  = &$conf->getConfTree("getconfig");
 }
  public  function __construct(CConfig &$config) {

    $this->m_cConfig      = &$config;
    $this->m_confXml      = &$config->getConfTree("pluginconfig");
    $this->m_eventSav     = array();
  }
示例#11
0
 public  function __construct(CConfig &$config)
 {
   $this->m_cConfig    = &$config;
   $this->m_confXml    = &$config->getConfTree("access");
   $this->m_accessData = array();
 }