/usr/share/horde/sesha/lib/Entity/Property.php is in php-horde-sesha 1.0.0~beta1-11ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <?php
class Sesha_Entity_Property extends Horde_Rdo_Base
{
/**
* Explicit getter for the parameters variable interface.
* Internalizes the (un)serialization of the parameters array for backend storage
* returns mixed
*/
public function getParameters()
{
return unserialize($this->_fields['parameters']);
}
/**
* Explicit setter for the parameters variable interface.
* Internalizes the (un)serialization of the parameters array for backend storage
* returns mixed
*/
public function setParameters($parameters)
{
return $this->_fields['parameters'] = serialize($parameters);
}
/**
* Save any changes to the backend.
* Overridden because the default save() method passes the external representation to backend, not the serialized representation
* @return boolean Success.
*/
public function save()
{
return $this->getMapper()->update($this->property_id, $this->_fields) == 1;
}
}
|