public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
- /* Static get */
- function staticGet($k,$v=null)
- { return Memcached_DataObject::staticGet('Foreign_link',$k,$v); }
-
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
function getUser()
{
- return User::staticGet($this->user_id);
+ return User::getKV($this->user_id);
+ }
+
+ function getProfile()
+ {
+ return Profile::getKV('id', $this->user_id);
}
// Make sure we only ever delete one record at a time