GSoC2008JPeople

From MWWiki

Jump to: navigation, search

Back to GSoC 2008

<?php
 
/**
 * Description of the script here.
 *
 * Created on Jul 22, 2008
 *
 * @package
 * @author Shannon Quinn
 * @version 0.1
 */
 
class JoomlaPeopleService extends PeopleService {
 
  /**
   * Returns a Person object for person with $id or false on not found
   *
   * @access public
   * @param container specific id $id
   * @param profileDetails the details to return
   * @param security token $token
   */
  public function getPerson($userId, 
                            $groupId, 
                            $profileDetails, 
                            SecurityToken $token) {
 
  }
 
  /**
   * Returns a list of people that correspond to the passed in person ids.
   * 
   * @access public
   * @param ids The ids of the people to fetch.
   * @param sortOrder How to sort the people
   * @param filter How the people should be filtered.
   * @param first The index of the first person to fetch.
   * @param profileDetails the details to return
   * @param max The max number of people to fetch.
   * @return a list of people.
   */
  public function getPeople($userId, 
                            $groupId, 
                            $sortOrder, 
                            $filter, 
                            $first, 
                            $max, 
                            $profileDetails, 
                            SecurityToken $token) {
    return null;                           
  }
}
 
?>