);
}
- /**
- * return a profile_list record, given its tag and tagger.
- *
- * @param array $kv ideally array('tag' => $tag, 'tagger' => $tagger)
- *
- * @return Profile_list a Profile_list object with the given tag and tagger.
- */
-
- function pkeyGet($kv)
- {
- return Memcached_DataObject::pkeyGet('Profile_list', $kv);
- }
-
/**
* get the tagger of this profile_list object
*
return $xs->getString();
}
- /**
- * return an xml string to represent this people tag
- * as the subject of an activitystreams feed.
- *
- * @return string activitystreams subject
- */
-
- function asActivitySubject()
- {
- return $this->asActivityNoun('subject');
- }
-
/**
* return an xml string to represent this people tag
* as a noun in an activitystreams feed.
*
* @return mixed Profile_list on success, false on fail
*/
- static function saveNew($fields) {
+ static function saveNew(array $fields) {
extract($fields);
$ptag = new Profile_list();
// XXX: This should be in Memcached_DataObject... eventually.
- static function getAtCursor($fn, $args, $cursor, $count=20)
+ static function getAtCursor($fn, array $args, $cursor, $count=20)
{
$items = array();
* @return Profile_list results
*/
- static function getByKeys($keys) {
+ static function getByKeys(array $keys) {
$cache = Cache::instance();
if (!empty($cache)) {