Property | Type | Description | |
---|---|---|---|
$_es | Horde_ElasticSearch_Client | ElasticSearch client | |
$_objectManager | Content_Objects_Manager | Object manager | |
$_typeManager | Content_Types_Manager | Type management object | |
$_userManager | Content_Users_Manager | User manager object |
Method | Description | |
---|---|---|
__construct ( Horde_ElasticSearch_Client $es, Content_Users_Manager $userManager, Content_Types_Manager $typeManager, Content_Objects_Manager $objectManager ) | Constructor | |
index ( $index, $type, $id, $data ) | ||
search ( $index, $type, $query ) |
Method | Description | |
---|---|---|
_ensureObject ( $object ) | Convenience method - if $object is an array, it is taken as an array of 'object' and 'type' to pass to objectManager::ensureObjects() if it's a scalar value, it's taken as the object_id and simply returned. |
public __construct ( Horde_ElasticSearch_Client $es, Content_Users_Manager $userManager, Content_Types_Manager $typeManager, Content_Objects_Manager $objectManager ) | ||
$es | Horde_ElasticSearch_Client | |
$userManager | Content_Users_Manager | |
$typeManager | Content_Types_Manager | |
$objectManager | Content_Objects_Manager |
protected _ensureObject ( $object ) |
protected Horde_ElasticSearch_Client $_es | ||
return | Horde_ElasticSearch_Client |
protected Content_Objects_Manager $_objectManager | ||
return | Content_Objects_Manager |
protected Content_Types_Manager $_typeManager | ||
return | Content_Types_Manager |