Constants |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
public PHPFUI |
Methods |
public __construct(PHPFUI |
public addHomePageMarkdown(string $path) : PHPFUI |
public clearMenu() : PHPFUI Clears the cached menu in case you want to use two or more menu types on a page |
public display(array $classPagesToShow = ['d', 'f', 'g']PHPFUI\InstaDoc\Controller::VALID_CLASS_PAGES, ?PHPFUI Display a page according to the parameters passed on the url.
|
public generate(string $directoryPath, array $pagesToInclude = ['d'], string $extension = '.html') : array Generate static files for high volume sites. Pass the path to the directory where you want the files to be placed, it must exist.
|
public getAccessTabs() : array
|
public getClassParts(string $namespacedClass) : array break up a namespaced class into parts
|
public getClassUrl(string $namespacedClass) : string Get the url given a class |
public getConstructorParameters(string $className) : string Get parameters for the class and method |
public getControllerPage() : PHPFUI Returns the current page for the controller that will be used to display the documentation. |
public getFileManager() : PHPFUI |
public getGitFileOffset() : string The git file offset is a relative path to the source to make it compatible with the git repo path. |
public getGitRoot() : string The git root is the directory where the associated git repo lives |
public getHomePageMarkdown() : array Get unique home page markdown files
|
public getLandingPageUrl(string $namespace) : string Return a landing page URL |
public getMenu(?PHPFUI Return a menu
|
public getNamespaceURL(string $namespace) : string Get the url for a namespace |
public getPage() : PHPFUI Gets a blank page and sets the page title. Override to change the generated page layout. |
public getPageURL(string $page) : string Get the url for the specified page |
public getParameter(string $parameter, ?string $default = NULL) : string Get a specific parameter |
public getParameters() : array Get all parameters
|
public getSection(string $sectionName) : PHPFUI Get a section for display. Override to change layout |
public getUrl(array $parameters) : string Get a url given parameters. Remove invalid parameters.
|
public setAccessTabs(array $tabs) : PHPFUI
|
public setGitFileOffset(string $directory) : PHPFUI The git file offset is a relative path to the source to make it compatible with the git repo path. |
public setGitRoot(string $directory) : PHPFUI This allows InstaDoc to open and display commits from the associated git repo |
public setHomeUrl(string $url) : PHPFUI Set the home URL for the nav bar menu |
public setPageTitle(string $title) : PHPFUI Set the title for the page |
public setParameter(string $parameter, string $value) : PHPFUI Set a parameter, must be valid |
public setParameters(array $parameters) : PHPFUI Set the valid parameters from an array
|
Constants |
private PHPFUI |
private PHPFUI |
private PHPFUI |
Properties |
private array $accessTabs = ['Public', 'Protected', 'Private', 'Static']
|
private PHPFUI |
private string $generating = '' |
private string $gitFileOffset = '' |
private string $gitRoot = '' |
private array $homePageMarkdown = []
|
private string $homeUrl = '#' |
private ?PHPFUI |
private PHPFUI |
private array $parameters = []
|
private string $siteTitle = 'PHPFUI/InstaDoc' |