Example #1
0
 /**
  * set
  * Overwritten set() to set timestamp, ip and approved state correctly.
  *
  * @since
  * @access public
  * @param   mixed $key The name of the property to receive.
  * @return  mixed $val The value of the property.
  */
 function set($key, $value)
 {
     $testKey = '_' . $key;
     if (isset($this->{$testKey})) {
         $this->{$testKey} = $value;
         return true;
     }
     return Services_Trackback::set($key, $value);
 }