[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/utils/scripts/ -> generate.php (source)

   1  <?php
   2  /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
   3  
   4  // +----------------------------------------------------------------------+
   5  // | Akelos Framework - http://www.akelos.org                             |
   6  // +----------------------------------------------------------------------+
   7  // | Copyright (c) 2002-2006, Akelos Media, S.L.  & Bermi Ferrer Martinez |
   8  // | Released under the GNU Lesser General Public License, see LICENSE.txt|
   9  // +----------------------------------------------------------------------+
  10  
  11  /**
  12   * @package AkelosFramework
  13   * @subpackage Generators
  14   * @author Bermi Ferrer <bermi a.t akelos c.om>
  15   * @copyright Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org
  16   * @license GNU Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
  17   */
  18  
  19  error_reporting(defined('AK_ERROR_REPORTING_ON_SCRIPTS') ? AK_ERROR_REPORTING_ON_SCRIPTS : 0);
  20  require_once (AK_LIB_DIR.DS.'Ak.php');
  21  require_once (AK_LIB_DIR.DS.'AkObject.php');
  22  require_once (AK_LIB_DIR.DS.'AkInflector.php');
  23  defined('AK_SKIP_DB_CONNECTION') && AK_SKIP_DB_CONNECTION ? ($dsn='') : Ak::db(&$dsn);
  24  array_shift($argv);
  25  $command = join(' ',$argv);
  26  
  27  require_once (AK_LIB_DIR.DS.'utils'.DS.'generators'.DS.'AkelosGenerator.php');
  28  
  29  $Generator = new AkelosGenerator();
  30  $Generator->runCommand($command);
  31  
  32  echo "\n";
  33  
  34  ?>


Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6