Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     $servers = array();
     foreach ($this->e->mcache->servers as $server) {
         $servers[] = array($server->host, $server->port, $server->weight);
     }
     $this->_conn = new Memcached();
     $this->_conn->addServers($servers);
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $servers = array();
     foreach ($this->e->mcache['servers'] as $server) {
         $servers[] = array($server['host'], $server['port'], $server['weight']);
     }
     $this->_conn = new Memcached();
     $this->_conn->addServers($servers);
 }
Exemplo n.º 3
0
 function __construct()
 {
     parent::__construct();
     $this->_post = $_POST;
     $this->_rules = array();
     $this->_errors = array();
     $this->_min_len_rules = array();
     $this->_max_len_rules = array();
     $this->_valid_mail_rules = array();
     $this->_curname = '';
 }
Exemplo n.º 4
0
 public function __construct($installation_data)
 {
     parent::__construct($installation_data);
     require SYS_PATH . '/libraries/spyc/spyc.php';
     self::$_parser = new Spyc();
 }
Exemplo n.º 5
0
 function __construct()
 {
     parent::__construct();
 }