Class Ethna_Plugin_Handle

Description

コマンドラインハンドラプラグインの基底クラス

Located in /class/Plugin/Ethna_Plugin_Handle.php (line 22)


	
			
Direct descendents
Class Description
 class Ethna_Plugin_Handle_InstallPlugin install-plugin handler
 class Ethna_Plugin_Handle_PearLocal pear package install handler
 class Ethna_Plugin_Handle_AddTest Ethna_Handle which generates Normal Test Case
 class Ethna_Plugin_Handle_Help add-action handler
 class Ethna_Plugin_Handle_InfoPlugin info-plugin handler
 class Ethna_Plugin_Handle_ListPlugin list-plugin handler
 class Ethna_Plugin_Handle_ChannelUpdate info-plugin handler
 class Ethna_Plugin_Handle_UninstallPlugin install-plugin handler
 class Ethna_Plugin_Handle_AddAction add-action handler
 class Ethna_Plugin_Handle_AddProject add-project handler
 class Ethna_Plugin_Handle_ClearCache clear-cache handler
 class Ethna_Plugin_Handle_I18n i18n handler
 class Ethna_Plugin_Handle_MakePluginPackage make-plugin-package handler.
 class Ethna_Plugin_Handle_AddAppObject add-app-object handler
 class Ethna_Plugin_Handle_UpgradePlugin install-plugin handler
Variable Summary
 command $arg_list
 handler's $id
Method Summary
 Ethna_Plugin_Handle Ethna_Plugin_Handle ( &$controller,  $type,  $name)
 void getDescription ()
 void getId ()
 void getUsage ()
 void perform ()
 void setArgList ( $arg_list)
 void usage ()
 array &_getopt ([array $lopts = array()])
Variables
command $arg_list (line 28)
  • var: line arguments
handler's $id (line 25)
  • var: id
Methods
Constructor Ethna_Plugin_Handle (line 35)

Ethna_Handle constructor (stub for php4)

  • access: public
Ethna_Plugin_Handle Ethna_Plugin_Handle ( &$controller,  $type,  $name)
  • &$controller
  • $type
  • $name
getDescription (line 58)

get handler's description

  • access: public
void getDescription ()

Redefined in descendants as:
getId (line 48)

get handler-id

  • access: public
void getId ()
setArgList (line 78)

set arguments

  • access: public
void setArgList ( $arg_list)
  • $arg_list
usage (line 151)

show usage

  • access: public
void usage ()
_getopt (line 90)

easy getopt :)

  • return: list($opts, $args)
  • access: protected
array &_getopt ([array $lopts = array()])
  • array $lopts: long options

Documentation generated on Fri, 11 Nov 2011 04:00:20 +0900 by phpDocumentor 1.4.3