/** * Get an instance by key * * @param string $k Key to use to lookup (usually 'notice_id' for this class) * @param mixed $v Value to lookup * * @return Spam_score object found, or null for no hits * */ function staticGet($k, $v = null) { return Managed_DataObject::staticGet('Spam_score', $k, $v); }
public function staticGet($k, $v = null) { return parent::staticGet(__CLASS__, $k, $v); }
/** * Get an instance by key * * This is a utility method to get a single instance with a given key value. * * @param string $k Key to use to lookup (usually 'user_id' for this class) * @param mixed $v Value to lookup * * @return Realtime_channel object found, or null for no hits */ function staticGet($k, $v = null) { return Managed_DataObject::staticGet('Realtime_channel', $k, $v); }
function staticGet($k, $v = null) { return Managed_DataObject::staticGet('blog_entry', $k, $v); }