tests with PUG class...remove it afterwards

Esse commit está contido em:
Felipe Nascimento de Moura
2011-05-30 15:11:42 -03:00
commit 2f52b322c2
2 arquivos alterados com 17 adições e 4 exclusões
externo Submódulo
+1
Submodule mind3rd/API/external/pug added at 6f9d380f9e
+16 -4
Ver Arquivo
@@ -25,13 +25,25 @@
public function executableFunction()
{
echo "AAAAAAAAA";
if(!\API\User::userExists($this->user))
return false; // TODO: put it into L10N
{
echo "user does not exist";
return false; // TODO: put it into L10N
}
if(!\API\Project::projectExists($this->project))
return false; // TODO: put it into L10N
{
echo "project does not exist";
return false; // TODO: put it into L10N
}
$pF= new DAO\ProjectFactory($this->project);
//print_r($pF);
echo $this->project."\n\n";
echo "BBBBBBBBB";
//$pF= new DAO\ProjectFactory(Mind::$currentProject);
$user= \API\User::loadUserInfo($this->user);
print_r(\API\Project::data());
//$user= \API\User::loadUserInfo($this->user);
//print_r(\API\Project::data());
}
public function __construct()