Include documentation in the application

This commit is contained in:
Frederic Guillot
2015-08-29 20:00:53 -04:00
parent ef087f5e22
commit 6c711f696f
135 changed files with 285 additions and 38 deletions

View File

@@ -16,6 +16,19 @@ class Url extends \Core\Base
private $base = '';
private $directory = '';
/**
* Helper to generate a link to the documentation
*
* @access public
* @param string $label
* @param string $file
* @return string
*/
public function doc($label, $file)
{
return $this->link($label, 'doc', 'show', array('file' => $file), false, '', '', true);
}
/**
* HTML Link tag
*