Making a lot of previously-private methods and ivars public or protected
[isso.git] / Api.php
diff --git a/Api.php b/Api.php
index 89d8dd90b318640fef09c625a641551b5dd8ac34..a89747c9d1aa01759cb06e289d38bc075c619ee5 100644 (file)
--- a/Api.php
+++ b/Api.php
@@ -166,7 +166,7 @@ abstract class BSApi
         * This simply throws the ApiException if it exists, which inside holds
         * all of the individual and specific errors
         */
-       private function _processErrorQueue()
+       protected function _processErrorQueue()
        {
                if ($this->exception)
                {
@@ -396,7 +396,7 @@ abstract class BSApi
        /**
         * Verifies that all required fields are set
         */
-       private function _verifyRequired()
+       protected function _verifyRequired()
        {
                foreach ($this->fields as $name => $options)
                {
@@ -420,7 +420,7 @@ abstract class BSApi
         * @param       string  Action to run
         * @param       bool    Actually run it?
         */
-       private function _runActionMethod($method, $doRun)
+       protected function _runActionMethod($method, $doRun)
        {
                if (!$doRun || !method_exists($this, $method))
                {
@@ -438,7 +438,7 @@ abstract class BSApi
         *
         * @return      string  Prepared value entry
         */
-       private function _prepareFieldForSql($name)
+       protected function _prepareFieldForSql($name)
        {
                $type = $this->fields["$name"][F_TYPE];