PHP 클래스 FOF30\View\DataView\Raw

상속: extends FOF30\View\View, implements FOF30\View\DataView\DataViewInterface
파일 보기 프로젝트 열기: akeeba/fof 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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