Model / db structure test + some random fix
This commit is contained in:
parent
6f2ae4a40c
commit
34491e8a6f
12 changed files with 192 additions and 10 deletions
|
|
@ -12,6 +12,17 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
public function aboutAction()
|
||||
{
|
||||
|
||||
//$dbLayer = Fiktiv_Db_Service::getInstance();
|
||||
//$me = $dbLayer->users->findByEmail('fredric@fiktivkod.org');
|
||||
|
||||
$dbLayer = $this->_helper->dbService();
|
||||
$me = $dbLayer->users->findByEmail('fredric@fiktivkod.org');
|
||||
/*
|
||||
$users = new Users();
|
||||
$me = $users->findByEmail('fredric@fiktivkod.org');
|
||||
$dbLayer->users->findByEmail();
|
||||
*/
|
||||
echo $me;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in a new issue