diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-24 08:05:00 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-10-24 08:05:00 +0000 |
commit | 00ba74e0c407a80f11bdd9724f9e8f885dc725e9 (patch) | |
tree | 1cf2c6eb0346ffb5e408d6173c3ef00054472704 /src/SemanticScuttle/Service/Bookmark.php | |
parent | 60bb032d75852a65b7de91a6391f595bc2f04edb (diff) | |
download | semanticscuttle-00ba74e0c407a80f11bdd9724f9e8f885dc725e9.tar.gz semanticscuttle-00ba74e0c407a80f11bdd9724f9e8f885dc725e9.tar.bz2 |
introduce dbservice, a service base class that has a database variable, table variable and getter/setter for table
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@400 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/Service/Bookmark.php')
-rw-r--r-- | src/SemanticScuttle/Service/Bookmark.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php index fd88156..98259d7 100644 --- a/src/SemanticScuttle/Service/Bookmark.php +++ b/src/SemanticScuttle/Service/Bookmark.php @@ -1,8 +1,6 @@ <?php -class SemanticScuttle_Service_Bookmark extends SemanticScuttle_Service +class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService { - var $tablename; - /** * Returns the single service instance * @@ -288,7 +286,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_Service unset($uriparts); $b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag'); - $aok = !$b2tservice->attachTags( + $aok = $b2tservice->attachTags( $bId, $categories, $fromApi, $extension, false, $fromImport ); if (!$aok) { @@ -680,11 +678,6 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_Service $this->db->sql_query($query); } - - // Properties - function getTableName() { return $this->tablename; } - function setTableName($value) { $this->tablename = $value; } - } ?> |