當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CConsoleCommand::getHelp方法代碼示例

本文整理匯總了PHP中CConsoleCommand::getHelp方法的典型用法代碼示例。如果您正苦於以下問題:PHP CConsoleCommand::getHelp方法的具體用法?PHP CConsoleCommand::getHelp怎麽用?PHP CConsoleCommand::getHelp使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CConsoleCommand的用法示例。


在下文中一共展示了CConsoleCommand::getHelp方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getHelp

 /**
  * Provides the command description.
  * @return string the command description.
  */
 public function getHelp()
 {
     return parent::getHelp() . ' [command-name]';
 }
開發者ID:upmunspel,項目名稱:abiturient,代碼行數:8,代碼來源:CHelpCommand.php

示例2: getHelp

 public function getHelp()
 {
     $out = "Compress command allows you to combine and compress CSS and JS Files.\n\n";
     return $out . parent::getHelp();
 }
開發者ID:amlap,項目名稱:Yii-Extensions,代碼行數:5,代碼來源:XCompressCommand.php

示例3: getHelp

 public function getHelp()
 {
     $description = "DESCRIPTION\n";
     $description .= '    ' . "This command generates an initial Projects/Issues RBAC authorization hierarchy.\n";
     return parent::getHelp() . $description;
 }
開發者ID:ever4vr,項目名稱:maestro,代碼行數:6,代碼來源:RbacCommand.php

示例4: getHelp

 public function getHelp()
 {
     $description = "\nDESCRIPTION\n---\n" . "This command will retrieve the latest job postings from the specified source " . "website and update the Virtual Job Fair job postings database.\n\n";
     return parent::getHelp() . $description;
 }
開發者ID:erick305,項目名稱:testing,代碼行數:5,代碼來源:ImportJobsCommand.php

示例5: getHelp

 public function getHelp()
 {
     return parent::getHelp() . "\n";
 }
開發者ID:simplyii,項目名稱:core,代碼行數:4,代碼來源:ModuleCommand.php

示例6: getHelp

 /**
  * Show a some info about `fixtures` command
  *
  * @return string
  */
 public function getHelp()
 {
     $output = "[34m This command will allow you to manage your fixtures in a simple way.\n Be careful all rows from database will be removed! [0m \n\n";
     return $output . parent::getHelp();
 }
開發者ID:NovikovViktor,項目名稱:EDbFixtureManager,代碼行數:10,代碼來源:EDbFixtureManager.php


注:本文中的CConsoleCommand::getHelp方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。