Source for file AddAppManager.php

Documentation is available at AddAppManager.php

  1. <?php
  2. /**
  3.  *  AddAppManager.php
  4.  *
  5.  *  @author     nozzzzz <nozzzzz@gmail.com>
  6.  *  @license    http://www.opensource.org/licenses/bsd-license.php The BSD License
  7.  *  @package    Ethna
  8.  *  @version    $Id: 4562fa8cbac490aa2d8d22f96de0503a65a9b597 $
  9.  */
  10.  
  11. require_once 'Ethna/class/Plugin/Handle/AddAppObject.php';
  12.  
  13. // {{{ Ethna_Plugin_Handle_AddAppManager
  14. /**
  15.  *  add-app-manager handler
  16.  *
  17.  *  @author     nozzzzz <nozzzzz@gmail.com>
  18.  *  @access     public
  19.  *  @package    Ethna
  20.  */
  21. {
  22.     /**
  23.      *  add app-manager
  24.      *
  25.      *  @access public
  26.      */
  27.     function perform()
  28.     {
  29.         return $this->_perform('AppManager');
  30.     }
  31.  
  32.     /**
  33.      *  get handler's description
  34.      *
  35.      *  @access public
  36.      */
  37.     function getDescription()
  38.     {
  39.         return <<<EOS
  40. add new app-manager to project:
  41.     {$this->id} [-b|--basedir=dir] [app-manager name]
  42.  
  43. EOS;
  44.     }
  45.  
  46.     /**
  47.      *  get usage
  48.      *
  49.      *  @access public
  50.      */
  51.     function getUsage()
  52.     {
  53.         return <<<EOS
  54. ethna {$this->id} [-b|--basedir=dir] [app-manager name]
  55. EOS;
  56.     }
  57. }
  58. // }}}

Documentation generated on Fri, 11 Nov 2011 03:57:26 +0900 by phpDocumentor 1.4.3