Arquivos
wMind/mind3rd/API/Lobe/testfacade/testfacade.php
T
Felipe Nascimento de Moura b1fd4f247f fixed foreign keys problem;
fixed bug for new projects;
changes to sql generator;
2011-06-05 21:55:59 -03:00

52 linhas
1.8 KiB
PHP
Arquivo Executável

<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
namespace Lobe\testFacade;
/**
* This is just a model
*
* @author Felipe Nascimento de Moura <felipenmoura@gmail.com>
*/
class testFacade extends \Lobe\Neuron implements \neuron{
// TODO: REMOVE THIS FILE AFTER THE REQUIRED TESTS
public function __construct(Array $data)
{
echo "Here, a list of available commands from the \API package:\n";
echo "\API\\\n";
echo " GET::";
echo "plugins(true); // passing true, it echoes directly\n";
echo " projectData();\n";
echo " currentProject();\n";
echo " tables();\n";
echo " DDL();\n";
echo " DecoratedDDL();\n";
echo " lobes();\n";
echo " source();\n";
echo " idioms();\n";
echo " User::";
echo "projectsList();\n";
echo " usersList();\n";
echo " FileManager::";
echo "appendDataToFile(\$file, \$data);\n";
echo " createDir('newDir/anotherNewDir/finalNewDir');\n";
echo " createFile(\$uri); // also accepts nested directories\n";
echo " createXMLFile(\$uri);\n";
echo " writeToFile(\$file, \$data);\n";
echo " Project::";
echo "data();\n";
echo " current();\n";
echo " getDDLCommand();\n";
echo " getDDLCommand(false); // not decorated\n";
echo " openProject(\$projectName);\n";
echo " projectExists(\$projectName);\n";
echo " source();\n";
}
}