0, 'groups'=> array()); /** * allow * @desc Holds who has access to "it" * @access protected */ protected $allow; /** * public * @desc Holds whether 'it' is public * @access protected */ protected $public; /** * constructor * @TODO figure out how I will be interacting with the database * * @param mixed $dbh * @param array $groups * @return void */ public function __construct($dbh, $groups='') { if (is_array($groups)) { $this->allow = $groups; } $this->dbh = $dbh; if (is_array($_SESSION['zAuth']) ) { $this->account = $_SESSION['zAuth']; } } } ?>