mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 13:51:12 +01:00
Implement get & set
This commit is contained in:
parent
146ff34de1
commit
99adf832a7
@ -42,7 +42,7 @@ class timesheet_egw_record implements importexport_iface_egw_record
|
|||||||
* @param string $_attribute_name
|
* @param string $_attribute_name
|
||||||
*/
|
*/
|
||||||
public function __get($_attribute_name) {
|
public function __get($_attribute_name) {
|
||||||
|
return $this->timesheetentry[$_attribute_name];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -52,7 +52,7 @@ class timesheet_egw_record implements importexport_iface_egw_record
|
|||||||
* @param data $data
|
* @param data $data
|
||||||
*/
|
*/
|
||||||
public function __set($_attribute_name, $data) {
|
public function __set($_attribute_name, $data) {
|
||||||
|
$this->timesheetentry[$_attribute_name] = $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user