kernel/classes/ezsearch.php
\eZSearch
Package:
Methods

addNodeAssignment(
$mainNodeID, $objectID, $nodeAssignmentIDList
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $mainNodeID | ||
| $objectID | ||
| $nodeAssignmentIDList |

addObject(
$contentObject, $commit
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObject | ||
| $commit |

removeNodeAssignment(
$mainNodeID, $newMainNodeID, $objectID, $nodeAssigmentIDList
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $mainNodeID | ||
| $newMainNodeID | ||
| $objectID | ||
| $nodeAssigmentIDList |

removeNodes(
array $nodeIdList
)
:
false
static
Removes nodes from the search engine.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $nodeIdList | array | Array of node ID to remove. |
| Type | Description |
|---|---|
| false | in case of error, otherwise return the result of the search engine call |

removeObject(
$contentObject, $commit
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObject | ||
| $commit |

search(
$searchText, $params, $searchTypes
=
array()
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $searchText | ||
| $params | ||
| $searchTypes |

swapNode(
$nodeID, $selectedNodeID, $nodeIdList
=
array()
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $nodeID | ||
| $selectedNodeID | ||
| $nodeIdList |

updateNodeSection(
$nodeID, $sectionID
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $nodeID | ||
| $sectionID |

updateNodeVisibility(
$nodeID, $action
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $nodeID | ||
| $action |