- Symphony 2.3.1
-
› assets
11 -
› boot
9 -
› core
22 -
› cryptography
4 -
› email-gateways
3 -
› interface
6 -
› toolkit
72 -
› Unknown
38 - Delegates91
- Deprecated28
Versions
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.3
- 2.7.2
- 2.7.10
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.11
- 2.6.10
- 2.6.1
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
Options
Page HTMLPage AdministrationPage ResourcesPage
public abstract class ResourcesPage extends AdministrationPage
class.resourcespage.php #18The ResourcesPage
abstract class controls the way "Datasource"
and "Events" index pages are displayed in the backend. It extends the
AdministrationPage
class.
Methods
void __actionIndex(
$resource_type)
This function is called from the resources index when a user uses the
With Selected, or Apply, menu. The type of resource is given by
$resource_type
. At this time the only two valid values,
RESOURCE_TYPE_EVENT
or RESOURCE_TYPE_DATASOURCE
.
The function handles 'delete', 'attach', 'detach', 'attach all', 'detach all' actions.
Parameters
void __viewIndex(
$resource_type)
This function contains the minimal amount of logic for generating the
index table of a given $resource_type
. The table has name, source, pages
release date and author columns. The values for these columns are determined
by the resource's about()
method.
As Datasources types can be installed using Providers, the Source column
can be overridden with a Datasource's getSourceColumn
method (if it exists).
Parameters
array pagesFlatView()
This function creates an array of all page titles in the system.
Returns
An array of page titles
array sort(
$sort, $order, $params)
This method is invoked from the Sortable
class and it contains the
logic for sorting (or unsorting) the resource index. It provides a basic
wrapper to the ResourceManager
's fetch()
method.
Parameters
Returns
An associative of the resource as determined by ResourceManager::fetch