changing from private to public in classes with error
This commit is contained in:
@@ -85,7 +85,7 @@ class DBTable
|
|||||||
$dberror = PEAR::raiseError(null, DB_ERROR_OBJECT_NOT_DEFINED, null, 'null',
|
$dberror = PEAR::raiseError(null, DB_ERROR_OBJECT_NOT_DEFINED, null, 'null',
|
||||||
"You tried to call to a DBTable function without create an instance of DBConnection",
|
"You tried to call to a DBTable function without create an instance of DBConnection",
|
||||||
'G_Error', true);
|
'G_Error', true);
|
||||||
DBconnection::logError( $dberror );
|
//DBconnection::logError( $dberror );
|
||||||
return $dberror;
|
return $dberror;
|
||||||
}
|
}
|
||||||
$this->is_new = true;
|
$this->is_new = true;
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ class headPublisher {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private function __construct() {
|
public function __construct() {
|
||||||
$this->addScriptFile ( "/js/maborak/core/maborak.js" );
|
$this->addScriptFile ( "/js/maborak/core/maborak.js" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class RBAC
|
|||||||
|
|
||||||
static private $instance = NULL;
|
static private $instance = NULL;
|
||||||
|
|
||||||
private function __construct() {
|
public function __construct() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class RestClient {
|
|||||||
/**
|
/**
|
||||||
* Private Constructor, sets default options
|
* Private Constructor, sets default options
|
||||||
*/
|
*/
|
||||||
private function __construct() {
|
public function __construct() {
|
||||||
$this->curl = curl_init();
|
$this->curl = curl_init();
|
||||||
curl_setopt($this->curl,CURLOPT_RETURNTRANSFER,true);
|
curl_setopt($this->curl,CURLOPT_RETURNTRANSFER,true);
|
||||||
curl_setopt($this->curl,CURLOPT_AUTOREFERER,true); // This make sure will follow redirects
|
curl_setopt($this->curl,CURLOPT_AUTOREFERER,true); // This make sure will follow redirects
|
||||||
|
|||||||
Reference in New Issue
Block a user