Property | Type | Description | |
---|---|---|---|
$_db | Horde_Db_Adapter | Database adapter | |
$_tables | array | Tables | |
$_typeManager | Content_Types_Manager | Type manager |
Method | Description | |
---|---|---|
__construct ( Horde_Db_Adapter $db, Content_Types_Manager $typeManager ) : Content_Objects_Manager | Constructor | |
delete ( ) | ||
delete ( array $objects, string $type ) | Remove the object. | |
ensureObjects ( mixed $objects, mixed $type ) : array | Ensure that an array of objects exist in storage. Create any that don't, return object_ids for all. All objects in the $objects array must be of the same content type. | |
exists ( $objects, mixed $type ) : mixed | Check for object existence without causing the objects to be created. |
Method | Description | |
---|---|---|
_t ( string $tableType ) : string | Shortcut for getting a table name. |
public __construct ( Horde_Db_Adapter $db, Content_Types_Manager $typeManager ) : Content_Objects_Manager | ||
$db | Horde_Db_Adapter | The db adapter |
$typeManager | Content_Types_Manager | A content type manager |
return | Content_Objects_Manager |