diff --git a/library/Class/User/Datas.php b/library/Class/User/Datas.php index 9124e917e11977d61c0753e44e1e22fcf6ed2679..aad8a96adaac3817a0a88d96e091c3c2ef2dda30 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)