Parent Directory
|
Revision Log
|
Revision Graph
Changelog: - Implemented hook_rdf_adapters(); added a new API function rdf_get_adapters(). - Merged rdf_db_rdf_namespaces() into rdf_rdf_namespaces(). - Merged rdf_db_rdf_contexts() into rdf_rdf_contexts(). - Merged rdf_db_rdf_repositories() into rdf_rdf_repositories(). - Implemented an RDF_DatabaseRepository class based on code previously in rdf.db.inc. - Renamed rdf_db_create_repository() to rdf_create_repository(). - Renamed rdf_db_update_repository() to rdf_update_repository(). - Renamed rdf_db_rename_repository() to rdf_rename_repository(). - Renamed rdf_db_delete_repository() to rdf_delete_repository(). - Renamed rdf_db_get_schema() to rdf_get_schema(). - Renamed rdf_db_get_repository_tables() to rdf_get_tables(). - Renamed rdf_db_load_repository() to rdf_get_repository(). - Renamed rdf_db_load_namespace() to rdf_get_namespace(). - Renamed rdf_db_count_repository_triples() to RDF_DatabaseRepository::count(). - Renamed rdf_db_merge_duplicate_statements() to RDF_DatabaseRepository::merge_duplicates(). - Renamed _rdf_db_make_record() to RDF_DatabaseRepository::construct_statement(). - Renamed _rdf_db_uri_to_id to RDF_DatabaseRepository::uri_to_id(). - Renamed _rdf_db_uri_to_id_insert to RDF_DatabaseRepository::uri_to_id_insert(). - Renamed _rdf_db_uri_to_id_select to RDF_DatabaseRepository::uri_to_id_select(). - Renamed _rdf_db_delete_statements() to RDF_DatabaseRepository::delete_statements(). - Renamed _rdf_db_select_statements() to RDF_DatabaseRepository::select_statements(). - Renamed _rdf_db_query_statements() to RDF_DatabaseRepository::query_statements().
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | ////////////////////////////////////////////////////////////////////////////// |
| 5 | // RDF repository API |
| 6 | |
| 7 | // TODO: remove these compatibility wrappers once installation code in |
| 8 | // dependent modules has been updated to use the renamed functions. |
| 9 | |
| 10 | /** |
| 11 | * @deprecated |
| 12 | */ |
| 13 | function rdf_db_create_repository($name, array $options = array()) { |
| 14 | return rdf_create_repository($name, $options); |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * @deprecated |
| 19 | */ |
| 20 | function rdf_db_update_repository($name, array $options = array()) { |
| 21 | return rdf_update_repository($name, $options); |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * @deprecated |
| 26 | */ |
| 27 | function rdf_db_rename_repository($old_name, $new_name) { |
| 28 | return rdf_rename_repository($old_name, $new_name); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * @deprecated |
| 33 | */ |
| 34 | function rdf_db_delete_repository($name) { |
| 35 | return rdf_delete_repository($name); |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * @deprecated |
| 40 | */ |
| 41 | function rdf_db_get_schema($table = RDF_DB_TABLE_DEFAULT, $rebuild = FALSE) { |
| 42 | return rdf_get_schema($table, $rebuild); |
| 43 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |