File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ public function delete () {
297297 *
298298 * @return dbObject|array
299299 */
300- private function byId ($ id , $ fields = null ) {
300+ protected function byId ($ id , $ fields = null ) {
301301 $ this ->db ->where (MysqliDb::$ prefix . $ this ->dbTable . '. ' . $ this ->primaryKey , $ id );
302302 return $ this ->getOne ($ fields );
303303 }
@@ -310,7 +310,7 @@ private function byId ($id, $fields = null) {
310310 *
311311 * @return dbObject
312312 */
313- private function getOne ($ fields = null ) {
313+ protected function getOne ($ fields = null ) {
314314 $ this ->processHasOneWith ();
315315 $ results = $ this ->db ->ArrayBuilder ()->getOne ($ this ->dbTable , $ fields );
316316 if ($ this ->db ->count == 0 )
@@ -340,7 +340,7 @@ private function getOne ($fields = null) {
340340 *
341341 * @return array Array of dbObjects
342342 */
343- private function get ($ limit = null , $ fields = null ) {
343+ protected function get ($ limit = null , $ fields = null ) {
344344 $ objects = Array ();
345345 $ this ->processHasOneWith ();
346346 $ results = $ this ->db ->ArrayBuilder ()->get ($ this ->dbTable , $ limit , $ fields );
You can’t perform that action at this time.
0 commit comments