Property | Type | Description | |
---|---|---|---|
$_db | Horde_Db_Adapter | Database adapter | |
$_tables | array | Tables |
Method | Description | |
---|---|---|
__construct ( Horde_Db_Adapter $db ) | ||
ensureTypes ( mixed $types ) : array | Ensure that an array of types exist in storage. Create any that don't, return type_ids for all. |
Method | Description | |
---|---|---|
_t ( string $tableType ) : string | Shortcut for getting a table name. |
public ensureTypes ( mixed $types ) : array | ||
$types | mixed | An array of types or single type value. Values typed as an integer are assumed to already be an type_id. |
return | array | An array of type_ids. |