public function __construct($http_vals) { parent::init($http_vals); // maximum number of records fetched from phonesystem. $this->max_calls_to_fetch = 20; // use some default user if only password is set on smartvisu if (strlen($this->user) == 0 && strlen($this->pass) > 0) { $this->user = '******'; } }