phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Data Fields
PntMarkedItemsCollector Class Reference

Public Member Functions

 __construct ($requestHandler)
 
 getMarkedObjects ($requestData)
 
 getDomainDir ($type)
 
 getMarkedOids ($requestData)
 
 getMarkedItemParams ($requestData)
 

Data Fields

 $pattern = '*!@'
 

Constructor & Destructor Documentation

__construct (   $requestHandler)

Constructor.

Parameters
PntRequestHandlerrequestHandler

Member Function Documentation

getDomainDir (   $type)
getMarkedItemParams (   $requestData)

Gets the request parameters of the items that where marked by the user in the ItemsTableForm of pages like ObjectIndexPage, ObjectPropertyPage and ObjectSearchpage

Parameters
Array$requestDatawith data like $_REQUEST
Returns
Array of String with data like $_REQUEST
getMarkedObjects (   $requestData)

Gets the objects corresponding to the items Calls useClass method on $requestHandler, and getDomainDir if $this->domainDir is not initialized

Parameters
Array$requestDatawith data like $_REQUEST
Returns
Array of PntObject
Exceptions
PntError
getMarkedOids (   $requestData)

Gets the oids of the objects corresponding to the items that where marked by the user in the ItemsTableForm of pages like ObjectIndexPage, ObjectPropertyPage and ObjectSearchpage

Parameters
Array$requestDatawith data like $_REQUEST
Returns
Array of String the oids

Field Documentation

$pattern = '*!@'

The pattern used to recognize marked item parameter keys


The documentation for this class was generated from the following file: