From c51b9bfd37061924ac6a4762e503d0baf5bec686 Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Fri, 22 Sep 2017 10:22:56 +0200 Subject: [PATCH] dev #64203 fix rt comments --- library/Class/User/Datas.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/library/Class/User/Datas.php b/library/Class/User/Datas.php index 9124e917e11..aad8a96adaa 100644 --- a/library/Class/User/Datas.php +++ b/library/Class/User/Datas.php @@ -123,12 +123,25 @@ class Class_User_Datas { return current($targets); } + + + public function setError($key) { + $this->_attribs['Error'] = $key; + return $this; + } + + + public function getError() { + return $this->_attribs['Error']; + } } -class Class_User_DatasRelation extends Class_Entity { +class Class_User_DatasRelation { + protected $_attribs; + public function __construct($table, $key) { $this->setTable($table) ->setKey($key) -- GitLab