getAuthUser(); if (!$au) { $this->jerr("Not authenticated", array('authFailure' => true)); } if (!$au->pid() ) { // not set up yet.. $this->jerr("Not authenticated", array('authFailure' => true)); } $this->authUser = $au; return true; } function get($table) { $d = DB_DAtaObject::Factory($table); $re = $d->autoJoin(); //echo '
';print_r($re);
        $ret = array ();
        
        foreach($re['join_names'] as $c=>$f) {
            $re['cols'][$c] = $f;
        }
        
        
        foreach($re['cols'] as $c=>$f) {
            $ret[]  = array(
                'name' => $c,
                'val' => $f
            );
            
        }
        
        
    }
}