프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$additionalPermissions | Additional permissions to fetch on object creation, see getPermissions() | ||
$item | The record loaded (read, edit, add views) | ||
$itemCount | The total number of items in the model (more than those loaded) | ||
$items | The records loaded (browse views) | ||
$lists | Data lists | ||
$pageParams | Page parameters object, for front-end views | ||
$pagination | The pagination object | ||
$permissions | ACL permissions map |
메소드 | 설명 | |
---|---|---|
__construct ( |
Overrides the constructor to apply Joomla! ACL permissions | |
getItem ( ) : |
Get the item for read, edit, add views | |
getItemCount ( ) : integer | Get the items count for browse views | |
getItems ( ) : |
Get the items collection for browse views | |
getLists ( ) : array | Returns the internal list of useful variables to the benefit of header fields. | |
getPageParams ( ) : JRegistry | Get the Joomla! page parameters | |
getPagination ( ) : JPagination | Returns a reference to the pagination object of this view | |
getPerms ( ) : stdClass | Returns a reference to the permissions object of this view | |
hasAjaxOrderingSupport ( ) : boolean | array | Determines if the current Joomla! version and your current table support AJAX-powered drag and drop reordering. |
메소드 | 설명 | |
---|---|---|
getPermissions ( null | string $component = null, array $additionalPermissions = [] ) : object | Returns a permissions object. | |
onBeforeAdd ( ) | Executes before rendering the page for the add task. | |
onBeforeBrowse ( ) | Executes before rendering the page for the Browse task. | |
onBeforeEdit ( ) | Executes before rendering the page for the Edit task. | |
onBeforeRead ( ) | Executes before rendering the page for the Read task. |
public __construct ( |
||
$container | The container we belong to | |
$config | array | The configuration overrides for the view |
public getItem ( ) : |
||
리턴 |
public getItemCount ( ) : integer | ||
리턴 | integer |
public getItems ( ) : |
||
리턴 |
public getPageParams ( ) : JRegistry | ||
리턴 | JRegistry |
public getPagination ( ) : JPagination | ||
리턴 | JPagination |
public getPerms ( ) : stdClass | ||
리턴 | stdClass |
public hasAjaxOrderingSupport ( ) : boolean | array | ||
리턴 | boolean | array | False if not supported, otherwise a table with necessary information (saveOrder: should you enable DnD reordering; orderingColumn: which column has the ordering information). |
protected onBeforeAdd ( ) |
protected onBeforeBrowse ( ) |
protected onBeforeEdit ( ) |
protected onBeforeRead ( ) |
protected $additionalPermissions |
protected $itemCount |