diff options
author | Stanislau Wolski <stanislau.wolski@gmail.com> | 2015-08-24 20:21:29 +0300 |
---|---|---|
committer | Stanislau Wolski <stanislau.wolski@gmail.com> | 2015-08-24 20:21:29 +0300 |
commit | dc3bc4895f8e18ee7ec1da5b67ec7781b8c49fe6 (patch) | |
tree | d1152f58c63a4ee15028313ed29a097f1cc130d3 /codebase/db_common.php | |
parent | 582b5b5355dafaf4fe427fe7bf98e2b38f07fba3 (diff) | |
parent | 6078b93f3f3b2f2b4a1c8471c9d43e0af9fd21f3 (diff) | |
download | connector-php-dc3bc4895f8e18ee7ec1da5b67ec7781b8c49fe6.zip connector-php-dc3bc4895f8e18ee7ec1da5b67ec7781b8c49fe6.tar.gz connector-php-dc3bc4895f8e18ee7ec1da5b67ec7781b8c49fe6.tar.bz2 |
Merge branch 'master' of github.com:DHTMLX/connector-php
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 |