Skip to content

Instantly share code, notes, and snippets.

@NamelessCoder
Created November 1, 2013 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NamelessCoder/7267604 to your computer and use it in GitHub Desktop.
Save NamelessCoder/7267604 to your computer and use it in GitHub Desktop.
/**
* ## FooBar ViewHelper
*
* Blabla
*
* ### Argument: foo
*
* See: https://raw.github.com/bla/bla.md
*
* ### Argument: barFromParent
*
* Direct description, no include.
*/
class FooBarVieWHelper {
/**
* Init arguments
*/
public function initializeArguments() {
parent::initializeArguments();
$this->registerArgument('foo', 'string', '#arg-foo', FALSE);
$this->overrideArgument('barFromParent', 'string', '#arg-barFromParent', FALSE);
}
}
@NamelessCoder
Copy link
Author

Note. The line See: https://raw.github.com/bla/bla.md would be detected and the URL's source fetched and included upon display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment