| Methods |
protected
|
init(): void
Called when view becomes part of render tree. You can override it but avoid
placing any "heavy processing" here.
Called when view becomes part of render tree. You can override it but avoid
placing any "heavy processing" here.
Overrides
Overriden by
|
#
|
protected
|
initChunks(): void
From the current template will extract {row} into $this->tRowMaster and {empty} into $this->tEmpty.
From the current template will extract {row} into $this->tRowMaster and {empty} into $this->tEmpty.
Overriden by
|
#
|
public
|
addJsPaginator(int $ipp, array $options = [], View $container = null, string $scrollRegion = null): $this
Add Dynamic paginator when scrolling content via Javascript.
Will output x item in lister set per IPP until user scroll…
Add Dynamic paginator when scrolling content via Javascript.
Will output x item in lister set per IPP until user scroll content to the end of page.
When this happen, content will be reload x number of items.
Parameters
| $ipp |
Number of item per page
|
| $options |
an array with JS Scroll plugin options
|
| $container |
the container holding the lister for scrolling purpose
|
| $scrollRegion |
A specific template region to render. Render output is append to container HTML element.
|
Overriden by
|
#
|
protected
|
renderView(): void
View-specific rendering stuff. Feel free to replace this method with
your own. View::renderView contains some logic…
View-specific rendering stuff. Feel free to replace this method with
your own. View::renderView contains some logic that integrates with
Fomantic-UI.
Overrides
Overriden by
|
#
|
public
|
renderRow(): void
Render individual row. Override this method if you want to do more
decoration.
Render individual row. Override this method if you want to do more
decoration.
Overriden by
|
#
|
public
|
renderToJsonArr(string $region = null): array
Hack - override parent method with region render only support.
Hack - override parent method with region render only support.
TODO this hack/method must be removed as rendering HTML only partially but with all JS
is wrong by design. Each table row should be probably rendered natively using cloned
render tree (instead of cloned template).
Overrides
|
#
|