diff options
author | Egor <egor.26.93@gmail.com> | 2015-07-19 21:01:43 +0300 |
---|---|---|
committer | Egor <egor.26.93@gmail.com> | 2015-07-19 21:01:43 +0300 |
commit | 533642bcb15e84ae1e21007152a87cd35cda3775 (patch) | |
tree | 2d8bbb7c59abda444147a5f805e6ebb67256641c /codebase/db_common.php | |
parent | d66c1ce799ea4d773699e73f934db27e764d3f17 (diff) | |
download | connector-php-533642bcb15e84ae1e21007152a87cd35cda3775.zip connector-php-533642bcb15e84ae1e21007152a87cd35cda3775.tar.gz connector-php-533642bcb15e84ae1e21007152a87cd35cda3775.tar.bz2 |
Updated live update functionality.
Diffstat (limited to 'codebase/db_common.php')
-rwxr-xr-x[-rw-r--r--] | codebase/db_common.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/codebase/db_common.php b/codebase/db_common.php index f6391d2..67c14c0 100644..100755 --- a/codebase/db_common.php +++ b/codebase/db_common.php @@ -8,6 +8,8 @@ require_once("tools.php"); /*! manager of data request **/ class DataRequestConfig{ + + private $action_mode = ""; private $filters; //!< array of filtering rules private $relation=false; //!< ID or other element used for linking hierarchy private $sort_by; //!< sorting field @@ -52,6 +54,7 @@ class DataRequestConfig{ $this->relation =$proto->get_relation(); $this->user = $proto->user; $this->version = $proto->version; + $this->action_mode = $proto->action_mode; } /*! convert self to string ( for logs ) @@ -69,6 +72,15 @@ class DataRequestConfig{ return $str; } + public function set_action_mode($action_mode) { + $this->action_mode = $action_mode; + return $this; + } + + public function get_action_mode() { + return $this->action_mode; + } + /*! returns set of filtering rules @return set of filtering rules |