BIG COMMIT. Many changes done...Backup!!

* [ADD] The configuration is now stored in a XML file.
* [MOD] Many code improvements
This commit is contained in:
nuxsmin
2016-02-05 15:34:05 +01:00
parent 8fba8837c4
commit 5c573fffdb
100 changed files with 4698 additions and 2784 deletions

View File

@@ -35,11 +35,11 @@ class QueryData
/**
* @var array
*/
protected $_data = array();
protected $data = array();
/**
* @var string
*/
protected $_query = '';
protected $query = '';
/**
* @param $value
@@ -48,9 +48,9 @@ class QueryData
public function addParam($value, $name = null)
{
if (!is_null($name)) {
$this->_data[$name] = $value;
$this->data[$name] = $value;
} else {
$this->_data[] = $value;
$this->data[] = $value;
}
}
@@ -59,7 +59,7 @@ class QueryData
*/
public function getParams()
{
return $this->_data;
return $this->data;
}
/**
@@ -67,7 +67,7 @@ class QueryData
*/
public function getQuery()
{
return $this->_query;
return $this->query;
}
/**
@@ -75,6 +75,6 @@ class QueryData
*/
public function setQuery($query)
{
$this->_query = $query;
$this->query = $query;
}
}