Apex\Svc\View

  • public addBlock() - Add block that can be used within foreach template tags.
  • public addCallout() - Add callout message displayed at the top of the browser.
  • public addJavascript() - Add Javascript
  • public assign() - Assign a variable which will be merged when template is rendered.
  • public clearBlock() - Clear all entries within an existing block.
  • public getBlock() - Get a single block used within foreach tags.
  • public getBlocks() - Get all blocks for use within foreach tags.
  • public getCalloutType() - Get the type of callout message (success, error, warning)
  • public getCallouts() - Get all call messages.
  • public getTemplateFile() - Get the template file assigned.
  • public getTheme() - Get or determine the theme to utilize based on URI being viewed.
  • public hasErrors() - Check if any 'error' callout messages have been added.
  • public purge() - Purge all previously added variables and blocks.
  • public render() - Render
  • public renderBlock() - Render a block of text.
  • public setTemplateFile() - Set the template file to display upon rendering a template.
  • public setTheme() - Set theme to utilize upon rendering a template.