Example #1
0
 /**
  *
  * @return Documentation
  */
 public function documentation()
 {
     $documentation = new Documentation();
     $documentation->setDescription(Watson::translate('watson_media_documentation_description'));
     $documentation->setUsage('m keyword');
     $documentation->setExample('m filename');
     return $documentation;
 }
 /**
  *
  * @return Documentation
  */
 public function documentation()
 {
     $documentations = array();
     $documentation = new Documentation('t:make');
     $documentation->setDescription(Watson::translate('watson_documentation_template_console_make_description'));
     $documentation->setUsage(Watson::translate('watson_documentation_template_console_make_usage'));
     $documentation->setExamples(array(Watson::translate('watson_documentation_template_console_make_example_1'), Watson::translate('watson_documentation_template_console_make_example_2')));
     $documentations[] = $documentation;
     $documentation = new Documentation('t:copy');
     $documentation->setDescription(Watson::translate('watson_documentation_template_console_copy_description'));
     $documentation->setUsage(Watson::translate('watson_documentation_template_console_copy_usage'));
     $documentation->setExamples(array(Watson::translate('watson_documentation_template_console_copy_example_1'), Watson::translate('watson_documentation_template_console_copy_example_2')));
     $documentations[] = $documentation;
     return $documentations;
 }
 /**
  *
  * @return Documentation
  */
 public function documentation()
 {
     $documentation = new Documentation();
     $documentation->setDescription(Watson::translate('watson_template_documentation_description'));
     $documentation->setUsage('t keyword');
     $documentation->setExample('$navi');
     $documentation->setExample('t $navigation');
     return $documentation;
 }
Example #4
0
 /**
  *
  * @return Documentation
  */
 public function documentation()
 {
     $documentation = new Documentation();
     $documentation->setDescription(Watson::translate(''));
     $documentation->setUsage('a keyword');
     $documentation->setExample('article content');
     $documentation->setExample('a article content');
     return $documentation;
 }