class FrxAjax in Forena Reports 8
Crosstab Renderer
Plugin annotation
@FrxRenderer(id = "FrxAjax")
Hierarchy
- class \Drupal\forena\FrxPlugin\Renderer\RendererBase implements RendererInterface uses FrxAPI
- class \Drupal\forena\FrxPlugin\Renderer\FrxAjax
Expanded class hierarchy of FrxAjax
File
- src/
FrxPlugin/ Renderer/ FrxAjax.php, line 17
Namespace
Drupal\forena\FrxPlugin\RendererView source
class FrxAjax extends RendererBase {
public function render() {
$text = $this
->innerXML($this->reportNode);
$command = $this
->mergedAttributes();
$command['text'] = $text;
$event = $this
->extract('event', $command);
if (strpos($event, 'pre') === 0) {
$event = 'pre';
}
else {
$event = 'post';
}
$this
->getDocument()
->addAjaxCommand($command, $event);
return '';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FrxAjax:: |
public | function |
Default Render action, which simply does normal forena rendering.
You can use renderDomNode at any time to generate the default forena
rendering methods. Overrides RendererBase:: |
|
FrxAPI:: |
public | function | Returns containing application service | |
FrxAPI:: |
public | function | Get the current data context. | |
FrxAPI:: |
public | function | ||
FrxAPI:: |
public | function | Returns the data manager service | |
FrxAPI:: |
public | function | Return Data Service | |
FrxAPI:: |
public | function | Returns the fornea document manager | |
FrxAPI:: |
public | function | Report an error | |
FrxAPI:: |
public | function | Get the context of a specific id. | |
FrxAPI:: |
public | function | Get the current document | |
FrxAPI:: |
public | function | Load the contents of a file in the report file system. | |
FrxAPI:: |
function | Enter description here... | 1 | |
FrxAPI:: |
public | function | Pop data off of the stack. | |
FrxAPI:: |
public | function | Push data onto the Stack | |
FrxAPI:: |
public | function | Run a report with a particular format. | 1 |
FrxAPI:: |
public | function | Get the current report file system. | |
FrxAPI:: |
public | function | Set Data context by id. | |
FrxAPI:: |
public | function | Change to a specific document type. | |
FrxAPI:: |
public | function | Get list of skins. | |
RendererBase:: |
public | property | ||
RendererBase:: |
protected | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public | property | ||
RendererBase:: |
public static | function | Helper function for convergint methods to a standard associated array. | |
RendererBase:: |
function | Append a textual XHTML fragment to the dom. We do not use the DOMDocumentFragment optioin because they don't properly import namespaces. . | ||
RendererBase:: |
function | Add a node to the existing dom element with attributes | ||
RendererBase:: |
function | Add a text node to the current dom node. | ||
RendererBase:: |
public | function | Puts attributes back in array format prior to rendering. | |
RendererBase:: |
public | function | Generate generic div tag. | |
RendererBase:: |
public | function | Extract a list of columns from the data context. | |
RendererBase:: |
public | function | Generate ajax configuration attributes for use in template configurtion forms. | |
RendererBase:: |
public | function | Default configuration validator. Simply validates header and footer attributes. | |
RendererBase:: |
public | function | Render a drupal form in a forena template | |
RendererBase:: |
public | function | Extract a configuration var removing it from the array | |
RendererBase:: |
public | function | Get the textual representations of html for the configuration engine. | |
RendererBase:: |
public | function | Get the textual representations of html for the configuration engine. | |
RendererBase:: |
public | function | Get the textual representations of html for the configuration engine. | |
RendererBase:: |
public | function | Extracts the inner html of all nodes that match a particular xpath expression. | |
RendererBase:: |
public | function | Extracts the inner html of all nodes that match a particular xpath expression. | |
RendererBase:: |
public | function | Generate the template from the configuration. | |
RendererBase:: |
public | function | Simple function to get id from node. | |
RendererBase:: |
public | function |
This function is called to give the renderer the current conetxt in report rendering.
It makes sure the renderer has the current DOM nodes dom documnent, and other attributes. Overrides RendererInterface:: |
|
RendererBase:: |
public | function | Standard php array containing merged attributes Enter description here ... | |
RendererBase:: |
public | function | Rmove all the children of a dom node in the current report. | |
RendererBase:: |
public | function | Removes all chidren from the dome node expect those with a tagname specified by the the $tags argurment | |
RendererBase:: |
public | function | ||
RendererBase:: |
public | function | Recursive report renderer Walks the nodes rendering the report. | |
RendererBase:: |
public | function | Gives the token replaced attributes of a node. | |
RendererBase:: |
public | function | A helper function to allow replacement of tokens from inside a renderer wihout needing to understand the object | |
RendererBase:: |
public | function | Starting at the current report node, this function removes all child nodes. It aso removes any FRX attributes on the current as well. | |
RendererBase:: |
public | function | Default method for extracting configuration information from the template. This just scrapes teh current child html as the template. | |
RendererBase:: |
public | function | Set FRX attributes. | |
RendererBase:: |
public | function | Sets the first child element to a node and returns it. IF the node | |
RendererBase:: |
public | function | Helper function for validating text_format type controls. | |
RendererBase:: |
public | function | Sort a column list by weight. | |
RendererBase:: |
public static | function | ||
RendererBase:: |
public | function | ||
RendererBase:: |
public | function | Convert XML to key value pairs. This is used in support of graping to get specific key/value pairs in an array format suitable for passing off to php libraries. | |
RendererBase:: |
public | function |
Overrides RendererInterface:: |
1 |