From a47971aefd2bee45f4e57dd1fc3ea24bb370881f Mon Sep 17 00:00:00 2001 From: root Date: Sun, 29 Jun 2014 18:32:40 +0200 Subject: Some doco work. Changed main.bb and added a return link to all .bb files and began planning new entries for user orientated documentation. --- doc/old/html/include_2api_8php.html | 1625 +++++++++++++++++++++++++++++++++++ 1 file changed, 1625 insertions(+) create mode 100644 doc/old/html/include_2api_8php.html (limited to 'doc/old/html/include_2api_8php.html') diff --git a/doc/old/html/include_2api_8php.html b/doc/old/html/include_2api_8php.html new file mode 100644 index 000000000..2491ddee0 --- /dev/null +++ b/doc/old/html/include_2api_8php.html @@ -0,0 +1,1625 @@ + + + + + + +The Red Matrix: include/api.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Matrix +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
api.php File Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

 api_user ()
 
 api_date ($str)
 
 api_register_func ($path, $func, $auth=false)
 
 api_login (&$a)
 
 api_call (&$a)
 
 api_rss_extra (&$a, $arr, $user_info)
 
 api_get_user (&$a, $contact_id=Null)
 
 api_item_get_user (&$a, $item)
 
 api_apply_template ($templatename, $type, $data)
 
 api_account_verify_credentials (&$a, $type)
 
 api_account_logout (&$a, $type)
 
 requestdata ($k)
 
 api_export_basic (&$a, $type)
 
 api_channel_stream (&$a, $type)
 
 api_albums (&$a, $type)
 
 api_photos (&$a, $type)
 
 api_statuses_mediap (&$a, $type)
 
 api_statuses_update (&$a, $type)
 
 red_item_new (&$a, $type)
 
 api_status_show (&$a, $type)
 
 api_users_show (&$a, $type)
 
 api_statuses_home_timeline (&$a, $type)
 
 api_statuses_public_timeline (&$a, $type)
 
 api_statuses_show (&$a, $type)
 
 api_statuses_repeat (&$a, $type)
 
 api_statuses_destroy (&$a, $type)
 
 api_statuses_mentions (&$a, $type)
 
 api_statuses_user_timeline (&$a, $type)
 
 api_favorites (&$a, $type)
 
 api_format_as ($a, $ret, $user_info)
 
 api_format_messages ($item, $recipient, $sender)
 
 api_format_items ($r, $user_info)
 
 api_account_rate_limit_status (&$a, $type)
 
 api_help_test (&$a, $type)
 
 api_statuses_f (&$a, $type, $qtype)
 
 api_statuses_friends (&$a, $type)
 
 api_statuses_followers (&$a, $type)
 
 api_statusnet_config (&$a, $type)
 
 api_statusnet_version (&$a, $type)
 
 api_friendica_version (&$a, $type)
 
 api_ff_ids (&$a, $type, $qtype)
 
 api_friends_ids (&$a, $type)
 
 api_followers_ids (&$a, $type)
 
 api_direct_messages_new (&$a, $type)
 
 api_direct_messages_box (&$a, $type, $box)
 
 api_direct_messages_sentbox (&$a, $type)
 
 api_direct_messages_inbox (&$a, $type)
 
 api_direct_messages_all (&$a, $type)
 
 api_direct_messages_conversation (&$a, $type)
 
 api_oauth_request_token (&$a, $type)
 
 api_oauth_access_token (&$a, $type)
 
+ + + + + +

+Variables

 $API = array()
 
 $called_api = Null
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
api_account_logout ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_account_rate_limit_status ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_account_verify_credentials ($a,
 $type 
)
+
+

Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. http://developer.twitter.com/doc/get/account/verify_credentials

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_albums ($a,
 $type 
)
+
+ +
+
+ + + +
+
+ + + + + + + + +
api_call ($a)
+
+ +

Referenced by api_content().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_channel_stream ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + +
api_date ( $str)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_direct_messages_all ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_direct_messages_box ($a,
 $type,
 $box 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_direct_messages_conversation ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_direct_messages_inbox ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_direct_messages_new ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_direct_messages_sentbox ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_export_basic ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_favorites ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_ff_ids ($a,
 $type,
 $qtype 
)
+
+ +

Referenced by api_followers_ids(), and api_friends_ids().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_followers_ids ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_format_as ( $a,
 $ret,
 $user_info 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_format_items ( $r,
 $user_info 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_format_messages ( $item,
 $recipient,
 $sender 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_friendica_version ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_friends_ids ($a,
 $type 
)
+
+ +
+
+ + + +
+
+ + + + + + + + + + + + + + + + + + +
api_help_test ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_item_get_user ($a,
 $item 
)
+
+ +

Referenced by api_format_items().

+ +
+
+ +
+
+ + + + + + + + +
api_login ($a)
+
+

Simple HTTP Login

+ +

Referenced by api_call(), and api_get_user().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_oauth_access_token ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_oauth_request_token ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_photos ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_register_func ( $path,
 $func,
 $auth = false 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_rss_extra ($a,
 $arr,
 $user_info 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_status_show ($a,
 $type 
)
+
+ +

Referenced by api_statuses_mediap(), and api_statuses_update().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_destroy ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
api_statuses_f ($a,
 $type,
 $qtype 
)
+
+

https://dev.twitter.com/docs/api/1/get/statuses/friends This function is deprecated by Twitter returns: json, xml

+ +

Referenced by api_statuses_followers(), and api_statuses_friends().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_followers ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_friends ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_home_timeline ($a,
 $type 
)
+
+

http://developer.twitter.com/doc/get/statuses/home_timeline

+

TODO: Optional parameters TODO: Add reply info

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_mediap ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_mentions ($a,
 $type 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_public_timeline ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_repeat ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_show ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_update ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statuses_user_timeline ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statusnet_config ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
api_statusnet_version ($a,
 $type 
)
+
+ +
+
+ + + +
+
+ + + + + + + + + + + + + + + + + + +
api_users_show ($a,
 $type 
)
+
+

Returns extended information of a given user, specified by ID or screen name as per the required id parameter. The author's most recent status will be returned inline. http://developer.twitter.com/doc/get/users/show

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
red_item_new ($a,
 $type 
)
+
+ +
+
+ +
+
+ + + + + + + + +
requestdata ( $k)
+
+

get data from $_REQUEST ( e.g. $_POST or $_GET )

+ +

Referenced by api_statuses_mediap(), and api_statuses_update().

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
$API = array()
+
+

TWITTER API

+ +

Referenced by api_call(), and api_register_func().

+ +
+
+ +
+
+ + + + +
$called_api = Null
+
+ +

Referenced by api_call(), and api_get_user().

+ +
+
+
+
+ -- cgit v1.2.3