From 54cf98927438a823f68d46c4c38d7e10f6f2e702 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 17 Oct 2007 16:31:44 -0400 Subject: [PATCH] Adding the API::$table and API::$prefix instance variables so that subclasses know to override them * Api.php --- Api.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Api.php b/Api.php index 4186a0a..42705c7 100644 --- a/Api.php +++ b/Api.php @@ -84,6 +84,18 @@ abstract class BSApi */ protected $fields = array(); + /** + * The table name the API maps objects for + * @var string + */ + protected $table = '___UNDEFINED___'; + + /** + * The database table prefix + * @var string + */ + protected $prefix = ''; + /** * Values array: sanitized and verified field values * @var array -- 2.43.5