function getLists()
 {
     $profile = $this->target;
     $fn = array($profile, 'getOtherTags');
     # 20 lists
     list($this->lists, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->auth_user), $this->cursor, 20);
 }
 function getLists()
 {
     $fn = array($this->target, 'getTagSubscriptions');
     # 20 lists
     list($this->lists, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array(), $this->cursor, 20);
 }
 /**
  * Get notices
  *
  * @return array notices
  */
 function getNotices()
 {
     $fn = array($this->list, 'getNotices');
     list($this->notices, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array(), $this->cursor, 20);
     if (!$this->notices) {
         $this->notices = array();
     }
 }
Esempio n. 4
0
 /**
  * List the members of a list (people tagged)
  */
 function getUsers()
 {
     $fn = array($this->list, 'getTagged');
     list($this->users, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array(), $this->cursor, 20);
 }
Esempio n. 5
0
 /**
  * Get lists
  */
 function getLists()
 {
     $cursor = (int) $this->arg('cursor', -1);
     // twitter fixes count at 20
     // there is no argument named count
     $count = 20;
     $fn = array($this->target, 'getLists');
     list($this->lists, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->scoped), $cursor, $count);
 }
Esempio n. 6
0
 function getLists()
 {
     if (empty($this->user)) {
         return;
     }
     $profile = $this->user->getProfile();
     $fn = array($profile, 'getTagSubscriptions');
     # 20 lists
     list($this->lists, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array(), $this->cursor, 20);
 }
 function getLists()
 {
     $fn = array($this->target, 'getOtherTags');
     # 20 lists
     list($this->lists, $this->next_cursor, $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->scoped), $this->cursor, 20);
 }