예제 #1
0
파일: mcache.php 프로젝트: scalia/Vevui
 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);
 }
예제 #2
0
파일: antiflood.php 프로젝트: scalia/Vevui
 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);
 }
예제 #3
0
파일: post.php 프로젝트: scalia/Vevui
 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 = '';
 }
예제 #4
0
파일: yaml.php 프로젝트: scalia/Vevui
 public function __construct($installation_data)
 {
     parent::__construct($installation_data);
     require SYS_PATH . '/libraries/spyc/spyc.php';
     self::$_parser = new Spyc();
 }
예제 #5
0
파일: cache.php 프로젝트: scalia/Vevui
 function __construct()
 {
     parent::__construct();
 }