28 require_once
"Auth/Container.php";
32 require_once
"PEAR.php";
100 if (!is_array(
$data)) {
103 if (isset(
$data[
'users']) && is_array(
$data[
'users'])) {
104 $this->users =
$data[
'users'];
106 $this->users = array();
107 PEAR::raiseError(
'Auth_Container_Array: no user data found in options array');
109 if (isset(
$data[
'cryptType'])) {
110 $this->cryptType =
$data[
'cryptType'];
132 if ( isset($this->users[$user])
151 foreach ($this->users as $username => $password) {
152 $ret[][
'username'] = $username;