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); }
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); }
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 = ''; }
public function __construct($installation_data) { parent::__construct($installation_data); require SYS_PATH . '/libraries/spyc/spyc.php'; self::$_parser = new Spyc(); }
function __construct() { parent::__construct(); }