dataViewList
extends ajaxController
in package
Uses
lists
AJAX dataview controller
Tags
Table of Contents
- BYPARAM_DEFAULT_ACTION = 'fn'
- BYPARAM_DEFAULT_PREFIX = 'process'
- ERROR_PROCESS_BYPARAMS = 0x404
- $cache : cache
- Cache
- $cacheName : string
- Cache name
- $checkPageToken : bool
- Page token check result
- $conditions : searchWrapper
- Conditions object
- $config : config
- System-Configuration
- $countCurrent : int
- Current items on page
- $countMax : int
- Max count of item
- $crons : cronlist
- Cronjobs
- $crypt : crypt
- Crypt object
- $dataView : dataView
- Data view object
- $events : events
- Events
- $execDestruct : bool
- Execute defined actions on __destruct
- $filter : array<string|int, mixed>|null
- Filter array
- $hasPager : bool
- has pager
- $ipList : iplist
- IP-Sperren-List-Objekt
- $isFilter : bool
- Is filter view
- $items : mixed
- Items list array
- $itemsPerPage : int
- Items per page
- $language : language
- Language object
- $message : message|null
- Message object
- $moduleCheckExit : string
- Cache name
- $moduleElement : bool
- Check if controller was defined in module
- $notifications : notifications
- Notifications
- $offset : int
- Current offset
- $page : int|null
- Current Page
- $pager : pager|null
- Pager object
- $permissions : permissions
- Berechtigungen
- $request : request
- Request object
- $response : response
- response object
- $session : session
- Aktuelle Sessions
- $updateCheckEnabled : bool
- Update-Check de/aktivieren
- $userList : userList
- User list object
- $users : array<string|int, mixed>
- $view : view
- View object
- $viewEvents : string
- View events namespace
- $activeTab : int
- Active tab save
- __call() : bool
- Magische Methode für nicht vorhandene Methoden
- __callStatic() : bool
- Magische Methode für nicht vorhandene, statische Methoden
- __construct() : mixed
- Konstruktor
- __destruct() : void
- Destruktor
- buttonClicked() : string
- Prüft ob Button gesendet wurde
- getSession() : session
- Session zurückgeben
- hasAccess() : bool
- Access check processing, false prevent execution of request() and process()
- isAccessible() : bool
- Must return true, if controller is accessible
- process() : bool
- process controller
- processButtons() : bool
- Process click of form items as function
- request() : bool
- Controller request processing
- afterProcess() : bool
- After process list
- checkPageToken() : bool
- Check page token
- checkReferer() : bool
- Checks referrer
- execute() : bool
- Execute filter
- getActiveNavigationElement() : string
- Get active navigation item id
- getActiveTab() : int
- Returns active tab ID, jQuery UI zero-based index
- getCols() : array<string|int, mixed>
- Dataview columns
- getControllerLink() : string
- Create controller link
- getHelpLink() : string
- Get help link
- getIpLockedModul() : string
- Get controller access lock module
- getModul() : string
- Returns Module name
- getName() : string
- Returns list name
- getRow() : row
- Get dataview row
- getToolbarButtonToggleClass() : string
- Get toolbar button toggle class
- getViewPath() : string
- Get view path for controller
- hasActiveModule() : bool
- Check if active module was called
- initActionObjects() : bool
- Init mail objects
- initLists() : void
- Init lists objects
- initPermissionObject() : bool
- Initialize permission object
- initView() : bool
- Initialises view object
- maintenanceMode() : bool
- Hinweis das Wartungsmodus aktiv ist
- processByParam() : float|bool
- Executes function by param from GET-request in current controller
- redirect() : bool
- Controller Redirect
- redirectNoSession() : bool
- Redirect if user is not logged in
- requestExit() : bool
- Additional frontend request check
- initPageData() : bool
- Init page(r) data
Constants
BYPARAM_DEFAULT_ACTION
public
mixed
BYPARAM_DEFAULT_ACTION
= 'fn'
BYPARAM_DEFAULT_PREFIX
public
mixed
BYPARAM_DEFAULT_PREFIX
= 'process'
ERROR_PROCESS_BYPARAMS
public
mixed
ERROR_PROCESS_BYPARAMS
= 0x404
Properties
$cache
Cache
protected
cache
$cache
$cacheName
Cache name
protected
string
$cacheName
= false
$checkPageToken
Page token check result
protected
bool
$checkPageToken
= true
$conditions
Conditions object
protected
searchWrapper
$conditions
$config
System-Configuration
protected
config
$config
$countCurrent
Current items on page
protected
int
$countCurrent
= 0
$countMax
Max count of item
protected
int
$countMax
= 0
$crons
Cronjobs
protected
cronlist
$crons
$crypt
Crypt object
protected
crypt
$crypt
$dataView
Data view object
protected
dataView
$dataView
$events
Events
protected
events
$events
$execDestruct
Execute defined actions on __destruct
protected
bool
$execDestruct
= true
$filter
Filter array
protected
array<string|int, mixed>|null
$filter
= null
$hasPager
has pager
protected
bool
$hasPager
= true
$ipList
IP-Sperren-List-Objekt
protected
iplist
$ipList
$isFilter
Is filter view
protected
bool
$isFilter
= false
$items
Items list array
protected
mixed
$items
= []
$itemsPerPage
Items per page
protected
int
$itemsPerPage
= 0
$language
Language object
protected
language
$language
$message
Message object
protected
message|null
$message
= null
$moduleCheckExit
Cache name
protected
string
$moduleCheckExit
= true
$moduleElement
Check if controller was defined in module
protected
bool
$moduleElement
= false
$notifications
Notifications
protected
notifications
$notifications
$offset
Current offset
protected
int
$offset
= 0
$page
Current Page
protected
int|null
$page
= 1
$pager
Pager object
protected
pager|null
$pager
= null
$permissions
Berechtigungen
protected
permissions
$permissions
$request
Request object
protected
request
$request
$response
response object
protected
response
$response
= null
$session
Aktuelle Sessions
protected
session
$session
$updateCheckEnabled
Update-Check de/aktivieren
protected
bool
$updateCheckEnabled
= false
$userList
User list object
protected
userList
$userList
$users
protected
array<string|int, mixed>
$users
= []
$view
View object
protected
view
$view
$viewEvents
View events namespace
protected
string
$viewEvents
= 'theme'
$activeTab
Active tab save
private
int
$activeTab
Methods
__call()
Magische Methode für nicht vorhandene Methoden
public
__call(string $name, mixed $arguments) : bool
Parameters
- $name : string
- $arguments : mixed
Return values
bool —__callStatic()
Magische Methode für nicht vorhandene, statische Methoden
public
static __callStatic(string $name, mixed $arguments) : bool
Parameters
- $name : string
- $arguments : mixed
Return values
bool —__construct()
Konstruktor
public
__construct() : mixed
Return values
mixed —__destruct()
Destruktor
public
__destruct() : void
Return values
void —buttonClicked()
Prüft ob Button gesendet wurde
public
final buttonClicked(string $buttonName) : string
Parameters
- $buttonName : string
Return values
string —getSession()
Session zurückgeben
public
final getSession() : session
Return values
session —hasAccess()
Access check processing, false prevent execution of request() and process()
public
hasAccess() : bool
Tags
Return values
bool —isAccessible()
Must return true, if controller is accessible
public
isAccessible() : bool
Return values
bool —process()
process controller
public
process() : bool
Return values
bool —processButtons()
Process click of form items as function
public
processButtons() : bool
Tags
Return values
bool —request()
Controller request processing
public
request() : bool
Return values
bool —afterProcess()
After process list
protected
afterProcess() : bool
Return values
bool —checkPageToken()
Check page token
protected
checkPageToken([string $name = '' ]) : bool
Parameters
- $name : string = ''
Return values
bool —checkReferer()
Checks referrer
protected
final checkReferer([bool $ext = false ]) : bool
Parameters
- $ext : bool = false
Tags
Return values
bool —execute()
Execute filter
protected
abstract execute() : bool
Return values
bool —getActiveNavigationElement()
Get active navigation item id
protected
getActiveNavigationElement() : string
Return values
string —getActiveTab()
Returns active tab ID, jQuery UI zero-based index
protected
final getActiveTab() : int
Tags
Return values
int —getCols()
Dataview columns
protected
abstract getCols() : array<string|int, mixed>
Return values
array<string|int, mixed> —getControllerLink()
Create controller link
protected
getControllerLink([string $controller = '' ][, array<string|int, mixed> $params = [] ]) : string
Parameters
- $controller : string = ''
- $params : array<string|int, mixed> = []
Return values
string —getHelpLink()
Get help link
protected
getHelpLink() : string
Return values
string —getIpLockedModul()
Get controller access lock module
protected
getIpLockedModul() : string
Return values
string —getModul()
Returns Module name
protected
abstract getModul() : string
Return values
string —getName()
Returns list name
protected
abstract getName() : string
Return values
string —getRow()
Get dataview row
protected
abstract getRow(comments $item, mixed $index) : row
Parameters
- $item : comments
- $index : mixed
Return values
row —getToolbarButtonToggleClass()
Get toolbar button toggle class
protected
getToolbarButtonToggleClass(int $tabIndex[, string $class = '' ][, bool $notIfNull = false ]) : string
Parameters
- $tabIndex : int
- $class : string = ''
- $notIfNull : bool = false
Tags
Return values
string —getViewPath()
Get view path for controller
protected
getViewPath() : string
Return values
string —hasActiveModule()
Check if active module was called
protected
final hasActiveModule() : bool
Return values
bool —initActionObjects()
Init mail objects
protected
final initActionObjects() : bool
Return values
bool —initLists()
Init lists objects
protected
abstract initLists() : void
Return values
void —initPermissionObject()
Initialize permission object
protected
initPermissionObject() : bool
Tags
Return values
bool —initView()
Initialises view object
protected
initView() : bool
Return values
bool —maintenanceMode()
Hinweis das Wartungsmodus aktiv ist
protected
maintenanceMode([bool $simplemsg = true ]) : bool
Parameters
- $simplemsg : bool = true
Return values
bool —processByParam()
Executes function by param from GET-request in current controller
protected
final processByParam([string $prefix = self::BYPARAM_DEFAULT_PREFIX ][, string $actionFrom = self::BYPARAM_DEFAULT_ACTION ]) : float|bool
Parameters
- $prefix : string = self::BYPARAM_DEFAULT_PREFIX
- $actionFrom : string = self::BYPARAM_DEFAULT_ACTION
Tags
Return values
float|bool —redirect()
Controller Redirect
protected
redirect([string $controller = '' ][, array<string|int, mixed> $params = [] ]) : bool
Parameters
- $controller : string = ''
- $params : array<string|int, mixed> = []
Return values
bool —redirectNoSession()
Redirect if user is not logged in
protected
redirectNoSession() : bool
Return values
bool —requestExit()
Additional frontend request check
protected
final requestExit(array<string|int, mixed> $vars) : bool
Parameters
- $vars : array<string|int, mixed>
Return values
bool —initPageData()
Init page(r) data
private
initPageData() : bool