use Exception;
require_once 'include/datetime.php';
+require_once 'include/dba.php';
require_once 'include/network.php';
require_once 'include/html2bbcode.php';
}
/**
- * @param object $uid user
- * @param object $cid cid
+ * @param integer $uid user
+ * @param integer $cid cid
* @param integer $start optional, default 0
* @param integer $limit optional, default 9999
* @param boolean $shuffle optional, default false
}
/**
- * @param object $uid user
- * @param object $zcid zcid
+ * @param integer $uid user
+ * @param integer $zcid zcid
* @param integer $start optional, default 0
* @param integer $limit optional, default 9999
* @param boolean $shuffle optional, default false
}
/**
- * @param object $uid user
- * @param object $cid cid
+ * @param integer $uid user
+ * @param integer $cid cid
* @return integer
*/
public static function countAllFriends($uid, $cid)
}
/**
- * @param object $uid user
- * @param object $cid cid
+ * @param integer $uid user
+ * @param integer $cid cid
* @param integer $start optional, default 0
* @param integer $limit optional, default 80
- * @return object
+ * @return array
*/
public static function allFriends($uid, $cid, $start = 0, $limit = 80)
{
/**
* @brief Replace alternate OStatus user format with the primary one
*
- * @param arr $contact contact array (called by reference)
+ * @param array $contact contact array (called by reference)
* @return void
*/
public static function fixAlternateContactAddress(&$contact)
/**
* @brief Fetch the gcontact id, add an entry if not existed
*
- * @param arr $contact contact array
+ * @param array $contact contact array
*
* @return bool|int Returns false if not found, integer if contact was found
*/
/**
* @brief Updates the gcontact table from a given array
*
- * @param arr $contact contact array
+ * @param array $contact contact array
*
* @return bool|int Returns false if not found, integer if contact was found
*/
/**
* @brief Updates the gcontact entry from probe
*
- * @param str $url profile link
+ * @param string $url profile link
* @return void
*/
public static function updateFromProbe($url)
*
* If the "Statistics" plugin is enabled (See http://gstools.org/ for details) we query user data with this.
*
- * @param str $server Server address
+ * @param string $server Server address
* @return void
*/
public static function fetchGsUsers($server)