PHP Класс FOF30\View\DataView\Raw

Наследование: extends FOF30\View\View, implements FOF30\View\DataView\DataViewInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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 ( Container $container, array $config = [] ) Overrides the constructor to apply Joomla! ACL permissions
getItem ( ) : DataModel Get the item for read, edit, add views
getItemCount ( ) : integer Get the items count for browse views
getItems ( ) : Collection 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.

Описание методов

__construct() публичный метод

Overrides the constructor to apply Joomla! ACL permissions
public __construct ( Container $container, array $config = [] )
$container FOF30\Container\Container The container we belong to
$config array The configuration overrides for the view

getItem() публичный метод

Get the item for read, edit, add views
public getItem ( ) : DataModel
Результат FOF30\Model\DataModel

getItemCount() публичный метод

Get the items count for browse views
public getItemCount ( ) : integer
Результат integer

getItems() публичный метод

Get the items collection for browse views
public getItems ( ) : Collection
Результат FOF30\Model\DataModel\Collection

getLists() публичный метод

Returns the internal list of useful variables to the benefit of header fields.
public getLists ( ) : array
Результат array

getPageParams() публичный метод

Get the Joomla! page parameters
public getPageParams ( ) : JRegistry
Результат JRegistry

getPagination() публичный метод

Returns a reference to the pagination object of this view
public getPagination ( ) : JPagination
Результат JPagination

getPermissions() защищенный метод

The additionalPermissions array is a hashed array of local key => Joomla! ACL key value pairs. Local key is the name of the permission in the permissions object, whereas Joomla! ACL key is the name of the ACL permission known to Joomla! e.g. "core.manage", "foobar.something" and so on. Note: on CLI applications all permissions are set to TRUE. There is no ACL check there.
protected getPermissions ( null | string $component = null, array $additionalPermissions = [] ) : object
$component null | string The name of the component. Leave empty for automatic detection.
$additionalPermissions array Any additional permissions you want to add to the object.
Результат object

getPerms() публичный метод

Returns a reference to the permissions object of this view
public getPerms ( ) : stdClass
Результат stdClass

hasAjaxOrderingSupport() публичный метод

If they do, it will set up the drag & drop reordering feature.
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).

onBeforeAdd() защищенный метод

Executes before rendering the page for the add task.
protected onBeforeAdd ( )

onBeforeBrowse() защищенный метод

Executes before rendering the page for the Browse task.
protected onBeforeBrowse ( )

onBeforeEdit() защищенный метод

Executes before rendering the page for the Edit task.
protected onBeforeEdit ( )

onBeforeRead() защищенный метод

Executes before rendering the page for the Read task.
protected onBeforeRead ( )

Описание свойств

$additionalPermissions защищенное свойство

Additional permissions to fetch on object creation, see getPermissions()
protected $additionalPermissions

$item защищенное свойство

The record loaded (read, edit, add views)
protected $item

$itemCount защищенное свойство

The total number of items in the model (more than those loaded)
protected $itemCount

$items защищенное свойство

The records loaded (browse views)
protected $items

$lists защищенное свойство

Data lists
protected $lists

$pageParams защищенное свойство

Page parameters object, for front-end views
protected $pageParams

$pagination защищенное свойство

The pagination object
protected $pagination

$permissions защищенное свойство

ACL permissions map
protected $permissions