public function & friends($count = null, $offset = null)
    {
        $result = array();

        // If we have authorized via one of social modules
        if (isset($this->active)) {
            // Call friends method on active social module
            $result = & $this->active->friends($count, $offset);
        }

        return $result;
    }
public function & friends($count = null, $offset = null)
    {
        $result = array();

        // If we have authorized via one of social modules
        if (isset($this->active)) {
            // Call friends method on active social module
            $result = & $this->active->friends($count, $offset);
        }

        return $result;
    }
public function & friends ( $ count = null , $ offset = null ) { $ result = array ( ) ; // If we have authorized via one of social modules if ( isset ( $ this -> active ) ) { // Call friends method on active social module $ result = & $ this -> active -> friends ( $ count , $ offset ) ; } return $ result ; }
Get user fiends list

@param integer $count    Friends count
@param integer $offset   Friends offset

@return User[] Collection of user friends objects
Get user fiends list