ezcTreeDataStore is an interface describing the methods that a tree data storage module should implement.
Source for this file: /Tree/src/interfaces/data_store.php
Version: | //autogentag// |
Child Class | Description |
---|---|
ezcTreeXmlDataStore | ezcTreeXmlDataStore is an interface defining common methods for XML based data stores. |
ezcTreeDbDataStore | ezcTreeDbDataStore is an interface defining methods for database based data stores. |
public void |
deleteDataForAllNodes(
)
Deletes the data for all the nodes in the store. |
public void |
deleteDataForNodes(
$nodeList
)
Deletes the data for all the nodes in the node list $nodeList. |
public void |
fetchDataForNode(
$node
)
Retrieves the data for the node $node from the data store and assigns it to the node's 'data' property. |
public void |
fetchDataForNodes(
$nodeList
)
Retrieves the data for all the nodes in the node list $nodeList and assigns this data to the nodes' 'data' properties. |
public void |
storeDataForNode(
$node
)
Stores the data in the node to the data store. |
Deletes the data for all the nodes in the store.
Deletes the data for all the nodes in the node list $nodeList.
Name | Type | Description |
---|---|---|
$nodeList |
ezcTreeNodeList |
Retrieves the data for the node $node from the data store and assigns it to the node's 'data' property.
Name | Type | Description |
---|---|---|
$node |
ezcTreeNode |
Retrieves the data for all the nodes in the node list $nodeList and assigns this data to the nodes' 'data' properties.
Name | Type | Description |
---|---|---|
$nodeList |
ezcTreeNodeList |
Stores the data in the node to the data store.
Name | Type | Description |
---|---|---|
$node |
ezcTreeNode |