$ratelimiter
$ratelimiter : \Phapper\RateLimiter
$ratelimiter : \Phapper\RateLimiter
$oauth2 : \Phapper\OAuth2
getUserFlairList(string $subreddit, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a list of all assigned user flair in the specified subreddit. Must be a mod of that subreddit.
| string | $subreddit | Name of subreddit from which to retrieve flair list. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 1000. |
| string|null | $after | Use 'next' attribute of previous call to retrieve next page. |
| string|null | $before | Retrieve only flairs that are higher than this user ID on the list. |
Listing of users that are assigned flair in the specified subreddit.
addFlairTemplate(string $subreddit, string $type, string|null $text = null, string|null $css_class = null, boolean $editable = false, string|null $template_id = null) : object
Adds or modifies a flair template in a subreddit.
| string | $subreddit | Name of subreddit to add flair template. |
| string | $type | Specifies user or link flair template. One of 'link' or 'user'. |
| string|null | $text | Flair text. |
| string|null | $css_class | Flair CSS class. |
| boolean | $editable | Whether or not to allow users to edit the flair's text when assigning it. |
| string|null | $template_id | The template ID of an existing flair to modify. If null, will add a new one. |
Response to API call.
clearFlairTemplates(string $subreddit, string $type) : object|null
Deletes all flair templates of the selected type from the selected subreddit.
| string | $subreddit | Subreddit of flairs to clear. |
| string | $type | One of 'user' or 'link'. |
Response to API call. Null if incorrect type.
deleteFlairTemplate(string $subreddit, string $template_id) : object
Deletes the selected flair template from the specified subreddit.
$template_id can be obtained with getUserFlairSelector and getLinkFlairSelector
| string | $subreddit | Subreddit from which to delete flair template. |
| string | $template_id | ID of template to delete. |
Response to API call.
getUserFlairSelector(string $subreddit, string|null $user = null) : object
Gets current flair and a list of possible flairs for the specified user in the specified subreddit.
Also useful for obtaining flair ID's.
| string | $subreddit | Subreddit in which to view flair options. |
| string|null | $user | Username for whom to view selection. Defaults to current user. |
Response to API call.
selectUserFlair(string $subreddit, string $user, string|null $template_id = null, string|null $text = null) : object
Selects a user flair to use from the flair selection list.
| string | $subreddit | Subreddit in which to select flair. |
| string | $user | Username of user to whom to apply flair. Mandatory, don't ask me why. |
| string|null | $template_id | Template ID of template to select. Null will remove the user's flair. |
| string|null | $text | Modified flair text, if allowed. |
Response to API call.
selectLinkFlair(string $thing_id, string|null $template_id = null, string|null $text = null) : object
Applies a link flair template from the selection list to a link.
| string | $thing_id | Thing ID of link to apply flair. |
| string|null | $template_id | Template ID of template to apply to link. Null will remove the link's flair. |
| string|null | $text | Modified flair text, if allowed. |
Response to API call.
assignUserFlair(string $subreddit, string $user, string|null $text = null, string|null $css_class = null) : object
Assigns the selected user custom flair text and CSS class in the specified subreddit. Mods only.
| string | $subreddit | Subreddit in which to assign flair. |
| string | $user | Username of user to assign flair. |
| string|null | $text | Custom flair text. |
| string|null | $css_class | Custom flair CSS class. If both fields are null, deletes flair. |
Response to API call.
assignLinkFlair(string $subreddit, string $thing_id, string|null $text = null, string|null $css_class = null) : object
Assigns the selected link custom flair text and CSS class in the specified subreddit. Mods only.
| string | $subreddit | Subreddit in which to assign flair. Mandatory, don't ask me why. |
| string | $thing_id | Thing ID of link to assign flair. |
| string|null | $text | Custom flair text. |
| string|null | $css_class | Custom flair CSS class. If both fields are null, deletes flair. |
Response to API call.
showMyFlair(string $subreddit, boolean $show = true) : object
Selects whether or not to show the current user's flair in the selected subreddit.
| string | $subreddit | Subreddit in which to enable or disable flair. |
| boolean | $show | True to show flair. False to hide flair. |
Response to API call.
configureSubredditFlair(string $subreddit, boolean $user_enabled, string $user_position, boolean $user_self_assign, string $link_position, boolean $link_self_assign) : object|null
Updates all options in a subreddit's flair configuration.
| string | $subreddit | Subreddit in which to configure flair. |
| boolean | $user_enabled | Whether or not user flair is displayed. |
| string | $user_position | On which side to display user flair. One of 'left' or 'right'. |
| boolean | $user_self_assign | Whether or not users can select their own user flair. |
| string | $link_position | On which side to display links' flair. One of 'left', 'right', or 'none'. |
| boolean | $link_self_assign | Whether or not users can select their own links' flair. |
Response to API call. Null if invalid arguments.
gild(string $thing_id) : object
UNTESTED Gild a link or comment, which gives the author reddit gold. Must have sufficient gold creddits.
Reddit's documentation is odd, indicating that the thing ID is required both in the URL and the POST parameters.
| string | $thing_id | Thing ID of link or comment to gild. |
Response to API call.
giveGold(string $user, integer $months = 1) : object
UNTESTED Give the specified user the specified months of reddit gold. Must have sufficient gold creddits.
Reddit's documentation is odd, indicating that the username is required both in the URL and the POST parameters.
| string | $user | Username of user to whom to give gold. |
| integer | $months | Number of months to give reddit gold. |
Response to API call.
submitLinkPost(string $subreddit, string $title, string $url, boolean $send_replies = true, boolean $distinguish = false) : object
Submits a new link post.
| string | $subreddit | Subreddit in which to post link. |
| string | $title | Title of post. |
| string | $url | Link to post. |
| boolean | $send_replies | Send comment replies to the current user's inbox. True to enable, false to disable. |
| boolean | $distinguish | Whether or not it should be mod distinguished (for modded subreddits only). |
Response to API call.
submitTextPost(string $subreddit, string $title, string|null $text = null, boolean $send_replies = true, boolean $distinguish = false) : object
Submits a new text post.
| string | $subreddit | Subreddit in which to post. |
| string | $title | Title of post. |
| string|null | $text | Text of post. |
| boolean | $send_replies | Send comment replies to the current user's inbox. True to enable, false to disable. |
| boolean | $distinguish | Whether or not it should be mod distinguished (for modded subreddits only). |
Response to API call.
comment(string $parent, string $text, boolean $distinguish = false) : object
Comments on an object.
| string | $parent | Thing ID of parent object on which to comment. Could be link, text post, or comment. |
| string | $text | Comment text. |
| boolean | $distinguish | Whether or not it should be mod distinguished (for modded subreddits only). |
Response to API call.
editText(string $thing_id, string $text) : object
Edits the text of a comment or text post.
| string | $thing_id | Thing ID of text object to edit. Could be text post or comment. |
| string | $text | New text to replace the old. |
Response to API call, probably object of thing that was just edited.
getCommentChildren(string $link_id, string|array $comment_ids) : object
Get comments in a tree that are hidden by "load more comments".
NOTE: Only make one request for this at a time. Higher concurrency will result in an error.
| string | $link_id | Fullname (thing ID) of link/post of the comment tree. |
| string|array | $comment_ids | ID36 or fullname of one or more parent comments for which to retrieve children. |
Complex object containing comment's children.
save(string $thing_id, null $category = null) : object
Saves a post or comment in the selected category.
| string | $thing_id | Thing ID of object to save. Can be post or comment. |
| null | $category | Category in which to save object. Defaults to none. |
Response to API call, probably empty.
sendInboxReplies(string $thing_id, boolean $state = true) : object
Toggles whether or not the current user should receive replies to a specific post or comment to their inbox.
| string | $thing_id | Thing ID of object to toggle. |
| boolean | $state | State of inbox replies. True to receive, false for not. |
Response to API call, probably empty.
upvote(string $thing_id) : object
VOTES MUST BE CAST BY A HUMAN!! Proxying a person's single vote is okay, but bots should not use vote functions on their own.
Upvotes a post or comment.
| string | $thing_id | Thing ID of object to upvote. |
Response to API call, probably empty.
getComments(string $link_id, string|null $comment_id = null, integer|null $context = null, integer|null $depth = null, integer|null $limit = null, string|null $sort = null, boolean $show_edits = false, boolean $show_more = false) : object
Retrieves a listing of comments and children for a link and optionally a specific comment
| string | $link_id | ID36 or fullname of link for comments to fetch. |
| string|null | $comment_id | Optional, ID36 or fullname of a single comment to fetch with children, much like permalink. |
| integer|null | $context | Number of levels up of parent comments to retrieve. Only applicable to child comments. |
| integer|null | $depth | Depth of child comments to retrieve. |
| integer|null | $limit | Limit of comments to retrieve. |
| string|null | $sort | How to sort the comments, one of 'confidence', 'top', 'new', 'hot', 'controversial', 'old', 'random', 'qa' |
| boolean | $show_edits | Show edited comments, perhaps? Not well documented by reddit. |
| boolean | $show_more | Include links to show more comments, maybe? Not well documented by reddit. |
Listing of link and specified comment(s).
getDuplicateLinks(string $thing_id, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves the specified link and a listing of other links that are to duplicate destinations.
| string | $thing_id | ID36 or fullname of link to check for duplicates. |
| integer | $limit | Limit of duplicate links to retrieve. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of original link and listing of duplicate links.
getHot(string|null $subreddit = null, integer $limit = 25, string|null $after = null, string|null $before = null) : mixed|null
Retrieves the hot listing for the optionally specified subreddit.
| string|null | $subreddit | Subreddit of listing to retrieve. If none, defaults to front page. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Returns listing object on success. Null if failed.
getNew(string|null $subreddit = null, integer $limit = 25, string|null $after = null, string|null $before = null) : mixed|null
Retrieves the new listing for the optionally specified subreddit.
| string|null | $subreddit | Subreddit of listing to retrieve. If none, defaults to front page. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Returns listing object on success. Null if failed.
getControversial(string|null $subreddit = null, string $time = 'all', integer $limit = 25, string|null $after = null, string|null $before = null) : mixed|null
Retrieves the controversial listing for the optionally specified subreddit.
| string|null | $subreddit | Subreddit of listing to retrieve. If none, defaults to front page. |
| string | $time | Time constraint for age of items on list. One of hour, day, week, month, year, all. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Returns listing object on success. Null if failed.
getTop(string|null $subreddit = null, string $time = 'all', integer $limit = 25, string|null $after = null, string|null $before = null) : mixed|null
Retrieves the top listing for the optionally specified subreddit.
| string|null | $subreddit | Subreddit of listing to retrieve. If none, defaults to front page. |
| string | $time | Time constraint for age of items on list. One of 'hour', 'day', 'week', 'month', 'year', 'all'. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Returns listing object on success. Null if failed.
getRandom(string|null $subreddit = null) : object
NOT CURRENTLY SUPPORTED BY REDDIT. HERE ANYWAY IN CASE IT IS IN THE FUTURE.
Retrieves a random link from the optionally specified subreddit. If none, choose from any subreddit.
| string|null | $subreddit | Subreddit from which to retrieve a random link. |
Who knows? Probably a listing of a single link.
getRelatedLinks(string $thing_id, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a list of links that are the result of a search of the specified link's title.
| string | $thing_id | ID36 or fullname of link to search with. |
| integer | $limit | Upper limit of the number of links to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of original link and listing of related links.
createLiveThread(string $title, string|null $description = null, string|null $resources = null, boolean $nsfw = false) : \Phapper\Live|null
Creates a new live thread. To use an existing one, use attachLiveThread().
| string | $title | The thread's title. |
| string|null | $description | The thread's description. |
| string|null | $resources | The thread's resources section in the sidebar. |
| boolean | $nsfw | Whether or not the thread is NSFW. Prompts guests to continue when visiting. |
New PHP object representing a reddit live thread.
attachLiveThread(string $thread_id) : \Phapper\Live
Uses an existing live thread to create a Live object. You do not necessarily need to be a contributor to attach.
| string | $thread_id | Thread ID of the thread to attach. |
Returns the resulting PHP Live object.
composeMessage(string $to, string $subject, string $body, string|null $from_subreddit = null) : object
Sends a message to a user or subreddit.
| string | $to | Username or subreddit to send to. |
| string | $subject | Subject of message. |
| string | $body | Body of message. |
| string|null | $from_subreddit | Optionally the name of the subreddit from which to send the message. |
Response to API call.
getInbox(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves the current user's personal message inbox.
| integer | $limit | Upper limit of the number of links to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of messages in user's inbox.
getUnread(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves the current user's unread personal messages.
| integer | $limit | Upper limit of the number of links to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of unread messages in user's inbox.
getSent(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves the current user's sent personal messages.
| integer | $limit | Upper limit of the number of links to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of unread messages in user's inbox.
getModmail(string $subreddit = 'mod', boolean $messages_read = false, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves modmail messages.
| string | $subreddit | Subreddit for which to retrieve modmail. 'mod' means all moderated subreddits. |
| boolean | $messages_read | Whether or not to turn off the orangered mail icon. Does not mark each message as read. |
| integer | $limit | Upper limit of the number of message threads to retrieve. Maximum of 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of modmail messages.
setSuggestedSort(string $thing_id, string $sort) : object
Sets the default sort of a link's comments.
| string | $thing_id | Thing ID of link to set suggested sort. |
| string | $sort | Sort method. One of: 'confidence', 'top', 'new', 'hot', 'controversial', 'old', 'random', 'qa' |
Response to API call, probably empty.
getModerationLog(string $subreddit = 'mod', integer $limit = 25, string|null $after = null, string|null $mod = null, string|null $action = null, string|null $before = null) : object
Retrieves recent entries from the moderation log for the specified subreddit.
| string | $subreddit | Subreddit of log to retrieve. All moderated subreddits by default. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 500. |
| string|null | $after | Obtain the page of the results that come after the specified ModAction. |
| string|null | $mod | Filter by moderator. |
| string|null | $action | Filter by mod action. |
| string|null | $before | Obtain the page of the results that come before the specified ModAction. |
Listing object with modaction children.
getReports(string $subreddit = 'mod', integer $limit = 25, string|null $after = null, string|null $before = null, null $only = null) : mixed|null
Retrieves a list of things that have been reported in the specified subreddit.
| string | $subreddit | Subreddit of items to retrieve. All moderated subreddits by default. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
| null | $only | Obtain only links or comments. One of 'links' or 'comments'. Null for both. |
Returns a listing object with link and/or comment children.
getSpam(string $subreddit = 'mod', integer $limit = 25, string|null $after = null, string|null $before = null, null $only = null) : mixed|null
Retrieves a list of things that have been marked as spam in the specified subreddit.
| string | $subreddit | Subreddit of items to retrieve. All moderated subreddits by default. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
| null | $only | Obtain only links or comments. One of 'links' or 'comments'. Null for both. |
Returns a listing object with link and/or comment children.
getModqueue(string $subreddit = 'mod', integer $limit = 25, string|null $after = null, string|null $before = null, null $only = null) : mixed|null
Retrieves a list of things that have been placed in the modqueue of the specified subreddit.
| string | $subreddit | Subreddit of items to retrieve. All moderated subreddits by default. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
| null | $only | Obtain only links or comments. One of 'links' or 'comments'. Null for both. |
Returns a listing object with link and/or comment children.
getUnmoderated(string $subreddit = 'mod', integer $limit = 25, string|null $after = null, string|null $before = null) : mixed|null
Retrieves a list of things that have not been moderated in the specified subreddit.
| string | $subreddit | Subreddit of items to retrieve. All moderated subreddits by default. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Returns a listing object with link and/or comment children.
getEditedComments(string $subreddit = 'mod', integer $limit = 25, string|null $after = null, string|null $before = null) : mixed|null
Retrieves a list of comments that have been edited by the author in the specified subreddit.
| string | $subreddit | Subreddit of items to retrieve. All moderated subreddits by default. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Returns a listing object with link and/or comment children.
ban(string $subreddit, string $user, string|null $note = null, string|null $message = null, integer|null $duration = null) : object
Ban a user from the selected subreddit.
| string | $subreddit | Subreddit from which to ban user. |
| string | $user | Username of user to ban. |
| string|null | $note | Ban note in banned users list. Not shown to user. |
| string|null | $message | Ban message sent to user. |
| integer|null | $duration | Duration of ban in days. |
Response to API call.
inviteModerator(string $subreddit, string $user, boolean $perm_all = true, boolean $perm_access = false, boolean $perm_config = false, boolean $perm_flair = false, boolean $perm_mail = false, boolean $perm_posts = false, boolean $perm_wiki = false) : object
Invite a user to become a moderator to a subreddit.
| string | $subreddit | Subreddit to which to invite user. |
| string | $user | Username of user to invite. |
| boolean | $perm_all | If the user should have full permissions. |
| boolean | $perm_access | If the user should have the 'access' permission. |
| boolean | $perm_config | If the user should have the 'config' permission. |
| boolean | $perm_flair | If the user should have the 'flair' permission. |
| boolean | $perm_mail | If the user should have the 'mail' permission. |
| boolean | $perm_posts | If the user should have the 'posts' permission. |
| boolean | $perm_wiki | If the user should have the 'wiki' permission. |
Response to API call.
removeModerator(string $subreddit, string $user) : object
Remove an existing moderator as a moderator from a subreddit. To revoke an invitation, use uninviteModerator().
| string | $subreddit | Subreddit from which to remove a user as a moderator. |
| string | $user | Username of user to remove |
Response to API call, probably empty.
uninviteModerator(string $subreddit, string $user) : object
Revoke a user's pending invitation to moderate a subreddit. To remove an existing moderator, use removeModerator().
| string | $subreddit | Subreddit from which to revoke a user's invitation. |
| string | $user | User whose invitation to revoke. |
Response to API call, probably empty.
setModeratorPermissions(string $subreddit, string $user, boolean $perm_all = true, boolean $perm_access = false, boolean $perm_config = false, boolean $perm_flair = false, boolean $perm_mail = false, boolean $perm_posts = false, boolean $perm_wiki = false) : object
Modify an existing moderator's permission set. To modify an invited moderator's permissions, use setInvitationPermissions().
| string | $subreddit | Subreddit in which to edit a user's permissions |
| string | $user | Username of user to edit permissions. |
| boolean | $perm_all | If the user should have full permissions. |
| boolean | $perm_access | If the user should have the 'access' permission. |
| boolean | $perm_config | If the user should have the 'config' permission. |
| boolean | $perm_flair | If the user should have the 'flair' permission. |
| boolean | $perm_mail | If the user should have the 'mail' permission. |
| boolean | $perm_posts | If the user should have the 'posts' permission. |
| boolean | $perm_wiki | If the user should have the 'wiki' permission. |
Response to API call.
setInvitationPermissions(string $subreddit, string $user, boolean $perm_all = true, boolean $perm_access = false, boolean $perm_config = false, boolean $perm_flair = false, boolean $perm_mail = false, boolean $perm_posts = false, boolean $perm_wiki = false) : object
Modify an invited moderator's permission set. To modify an existing moderator's permissions, use setModeratorPermissions().
| string | $subreddit | Subreddit in which to edit a user's permissions |
| string | $user | Username of user to edit permissions. |
| boolean | $perm_all | If the user should have full permissions. |
| boolean | $perm_access | If the user should have the 'access' permission. |
| boolean | $perm_config | If the user should have the 'config' permission. |
| boolean | $perm_flair | If the user should have the 'flair' permission. |
| boolean | $perm_mail | If the user should have the 'mail' permission. |
| boolean | $perm_posts | If the user should have the 'posts' permission. |
| boolean | $perm_wiki | If the user should have the 'wiki' permission. |
Response to API call.
wikiBan(string $subreddit, string $user, string|null $note = null, integer|null $duration = null) : object
Ban a user from contributing to a subreddit's wiki.
| string | $subreddit | Subreddit from which to ban user. |
| string | $user | Username of user to ban. |
| string|null | $note | Ban note in banned users list. Not shown to user. |
| integer|null | $duration | Duration of ban in days. |
Response to API call.
removeWikiContributor(string $subreddit, string $user) : mixed|null
Remove a user as a contributor from a subreddit's wiki.
| string | $subreddit | Subreddit from which to remove the user. |
| string | $user | Username of user to remove. |
Response to API call, probably empty.
mute(string $subreddit, string $user, string|null $note = null) : object
Mute a user in the specified subreddit by username.
| string | $subreddit | Subreddit in which to mute the user. |
| string | $user | Username of user to mute. |
| string|null | $note | Mute note in muted users list. Not shown to user. |
Response to API call.
multiCopy(string $from_user, string $from_name, string $to_name) : object
Copy an existing multireddit to your own set.
| string | $from_user | Owner of multireddit to copy. |
| string | $from_name | Name of multireddit to copy. |
| string | $to_name | Name of destination multireddit. |
Resulting multireddit object.
multiGetUser(string $user, boolean $expand_srs = false) : array
Retrieves a list of multireddits owned by the specified user.
| string | $user | Username of user for which to retrieve owned multireddits. |
| boolean | $expand_srs | Obtain extra details about the subreddits of each multireddit. |
Multireddit objects.
multiRename(string $from_name, string $to_name) : object
Renames a subreddit. Functions like copying the existing subreddit then deleting the old one.
| string | $from_name | Name of multireddit to rename. |
| string | $to_name | Destination name. |
Resulting multireddit object.
multiCreate(string $name, string|array $subreddits = array(), string|null $description = null, string $visibility = 'private', string $weighting_scheme = 'classic', string|null $icon = null, string $key_color = '#cee3f8') : object
Create a multireddit. If multireddit of name already exists, an incremented number is appended to the end.
| string | $name | Name (and URL) of new multireddit. |
| string|array | $subreddits | Array or comma-delimited string of one or more subreddits that should go in the multireddit. |
| string|null | $description | Multireddit sidebar text. |
| string | $visibility | One of 'public', 'private', 'hidden'. Hidden multireddits will not be visible to you except through the API. |
| string | $weighting_scheme | One of 'classic', 'fresh'. |
| string|null | $icon | Not really used, but see https://www.reddit.com/dev/api#POST_api_multi_{multipath} for possible values. |
| string | $key_color | Not really used, but can be hex color. |
Multireddit object of new multireddit.
multiEdit(string $name, string|null $subreddits = null, string|null $description = null, string $visibility = null, string|null $weighting_scheme = null, string|null $icon = null, string|null $key_color = null) : object
Update an existing multireddit. If one of the specified name does not exits, one will be created.
Fields to not be updated should be null.
| string | $name | Name (and URL) of new multireddit. |
| string|null | $subreddits | Array or comma-delimited string of one or more subreddits that should go in the multireddit. |
| string|null | $description | Multireddit sidebar text. |
| string | $visibility | One of 'public', 'private', 'hidden'. Hidden multireddits will not be visible to you except through the API. |
| string|null | $weighting_scheme | One of 'classic', 'fresh'. |
| string|null | $icon | Not really used, but see https://www.reddit.com/dev/api#POST_api_multi_{multipath} for possible values. |
| string|null | $key_color | Not really used, but can be hex color. |
Multireddit object of resulting multireddit.
multiEditDescription(string $name, string $description) : object
Edit the description/sidebar for the specified multireddit.
| string | $name | Name of multireddit. |
| string | $description | New description. |
Response to API call, LabeledMultiDescription object.
multiGetSubreddit(string $user, string $name, string $subreddit) : object
Get information about the specified subreddit in the specified multireddit. Kinda useless, since it only returns the name at this point.
| string | $user | Owner of multireddit. |
| string | $name | Name of multireddit. |
| string | $subreddit | Subreddit for which to obtain information. |
Response to API call, only contains subreddit name.
search(string $query, string|null $subreddit = null, string|null $sort = null, string|null $time = null, string|null $type = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Perform a search query.
Somewhat untested due to the complexity of and possible combinations to use in the search function.
| string | $query | Query of which to search. |
| string|null | $subreddit | Subreddit to which to restrict search. |
| string|null | $sort | Sort results by one of 'relevance', 'hot', 'top', 'new', 'comments'. Defaults to 'relevance'. |
| string|null | $time | One of 'hour', 'day', 'week', 'month', 'year', 'all'. Defaults to all. |
| string|null | $type | Comma-delimited list of result types: 'sr', 'link', or null. |
| integer | $limit | Upper limit of results to return. |
| string|null | $after | Obtain list items below this thing ID. |
| string|null | $before | Obtain list of items above this thing ID. |
Listing of search results
getBanned(string $subreddit, string|null $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of banned users from the specified subreddit. Must be a mod with access permissions.
Using pagination will result in the last item of the previous page appearing as the first item of the next page.
| string | $subreddit | Subreddit for which to retrieve banned users. |
| string|null | $user | Jump to a specific user. Will return an empty list if user is not on list. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of users.
getMuted(string $subreddit, string|null $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of muted users from the specified subreddit. Must be a mod with access permissions.
Using pagination will result in the last item of the previous page appearing as the first item of the next page.
| string | $subreddit | Subreddit for which to retrieve muted users. |
| string|null | $user | Jump to a specific user. Will return an empty list if user is not on list. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of users.
getWikiBanned(string $subreddit, string|null $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of wiki banned users from the specified subreddit. Must be a mod with access permissions.
Using pagination will result in the last item of the previous page appearing as the first item of the next page.
| string | $subreddit | Subreddit for which to retrieve wiki banned users. |
| string|null | $user | Jump to a specific user. Will return an empty list if user is not on list. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of users.
getContributors(string $subreddit, string|null $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of approved submitters from the specified subreddit. Must be a mod or approved submitter in subreddit.
Using pagination will result in the last item of the previous page appearing as the first item of the next page.
| string | $subreddit | Subreddit for which to retrieve approved submitters. |
| string|null | $user | Jump to a specific user. Will return an empty list if user is not on list. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of users.
getWikiContributors(string $subreddit, string|null $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of approved wiki contributors from the specified subreddit. Must be a mod or approved wiki contributor in subreddit.
Using pagination will result in the last item of the previous page appearing as the first item of the next page.
| string | $subreddit | Subreddit for which to retrieve approved wiki contributors. |
| string|null | $user | Jump to a specific user. Will return an empty list if user is not on list. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of users.
getModerators(string $subreddit, string|null $user = null) : object
Retrieve a list of moderators from the specified subreddit. Must have read access to subreddit.
This function does not use pagination, but it's here anyway in case that's changed in the future.
| string | $subreddit | Subreddit for which to retrieve moderators. |
| string|null | $user | Jump to a specific user. Will return an empty list if user is not on list. |
Listing of users.
uploadSubredditImage(string $subreddit, string $file, string $name, string $upload_type = 'img', string $image_type = 'png') : object
Upload an image to the specified subreddit.
| string | $subreddit | Subreddit to which to upload image. |
| string | $file | Relative or absolute path of file to upload from local machine. |
| string | $name | If $upload_type is 'img', assign the image this name. Ignored otherwise. |
| string | $upload_type | One of 'img', 'header', 'icon', 'banner'. As of now, 'icon' and 'banner' will result in an error. |
| string | $image_type | One of 'png' or 'jpg'. |
Response to API call. On success, shows image URL. Null if the local file cannot be found.
deleteSubredditImage(string $subreddit, string $image_name) : object
Remove an image from the subreddit's custom image set.
| string | $subreddit | Subreddit from which to remove the image. |
| string | $image_name | The name of the image to delete. |
Response to API call.
getRecommendedSubreddits(string $subreddits, string|null $omit = null) : array
Retrieve a list of recommended subreddits based on the names of existing ones.
| string | $subreddits | Comma-delimited list of subreddits on which to base recommendations. |
| string|null | $omit | Omit these specific subreddits from results. |
Recommended subreddit objects containing subreddit names.
searchSubredditsByName(string $query, boolean $include_nsfw = true, boolean $exact = false) : object
List subreddit names that begin with a query string.
| string | $query | Search for subreddits that start with this. Maximum 50 characters, all printable. |
| boolean | $include_nsfw | Include subreddits that are set as NSFW (over_18). |
| boolean | $exact | Only return exact match. |
Contains an array of subreddit names.
setSubredditStylesheet(string $subreddit, string $contents, string|null $reason = null) : object
Set a subreddit's stylesheet.
| string | $subreddit | Subreddit of which to set stylesheet. |
| string | $contents | Contents of stylesheet, probably pretty long. |
| string|null | $reason | Since the stylesheet is a wiki page, optionally provide a reason for editing. |
Response to API call, possibly containing errors if invalid CSS.
searchSubreddits(string $query, string $sort = 'relevance', integer $limit = 25, string|null $after = null, string|null $before = null) : object
Search for subreddits by title and description.
| string | $query | Query with which to search |
| string | $sort | Sorting method. One of 'relevance', 'activity' |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits that match the search query.
getMySubscribedSubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of the current user's subscribed subreddits.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getMyContributedSubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of the current user's subreddits in which they are an approved submitter.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getMyModeratedSubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieve a list of the current user's subreddits in which they are a moderator.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getPopularSubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a list of popular subreddits.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getNewSubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a list of new subreddits.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getGoldOnlySubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a list of gold-only subreddits.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getDefaultSubreddits(integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a list of default subreddits.
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
createSubreddit(string $subreddit, array $settings, boolean $i_read_the_documentation = false) : object
Create a new subreddit.
| string | $subreddit | Name of subreddit to create. |
| array | $settings | An array containing a key-value pair for each option you want to set (TITLE IS REQUIRED): 'allow_top' (boolean) Allow this subreddit to be included /r/all as well as the default and trending lists. 'collapse_deleted_comments' (boolean) Collapse deleted and removed comments. 'comment_score_hide_mins' (int) Minutes to hide comment scores. 'description' (string) Sidebar text. 'exclude_banned_modqueue' (boolean) Exclude posts by site-wide banned users from modqueue/unmoderated. 'header-title' (string) Header mouseover text. 'hide_ads' (boolean) Hide ads (only available for gold only subreddits). 'lang' (string) Language, a valid IETF language tag (underscore separated). 'link_type' (string) Content options. One of 'any', 'link', 'self'. 'over_18' (boolean) Viewers must be over eighteen years old. 'public_description' (string) Description, appears in search results and social media links. 'public_traffic' (boolean) Make the traffic stats page available to everyone. 'show_media' (boolean) Show thumbnail images of content. 'spam_comments' (string) Spam filter strength for comments. One of 'low', 'high', 'all'. 'spam_links' (string) Spam filter strength for links. One of 'low', 'high', 'all'. 'spam_selfposts' (string) Spam filter strength for self posts. One of 'low', 'high', 'all'. 'submit_link_label' (string) Custom label for submit link button (blank for default). 'submit_text' (string) Submission text, text to show on submission page. 'submit_text_label' (string) Custom label for submit text post button (blank for default). 'suggested_comment_sort' (string) Suggested comment sort. One of 'confidence', 'top', 'new', 'hot', 'controversial', 'old', 'random', 'qa' 'title' (string) Subreddit title, shown in the browser tab. 'type' (string) Subreddit type. One of 'restricted', 'private', 'public'. Other values are 'gold_restricted', 'archived', 'gold_only' and 'employees_only', but result in errors. 'wiki_edit_age' (int) Account age (days) required to edit and create wiki pages. 'wiki_edit_karma' (int) Subreddit karma required to edit and create wiki pages. 'wikimode' (string) Who should be able to edit the wiki. One of 'disabled', 'modonly', 'anyone'. |
| boolean | $i_read_the_documentation | Must be set to true to show that you've read this. |
Response to API call. (Watch for RATELIMIT errors.)
editSubreddit(string $subreddit, array $settings, boolean $i_read_the_documentation = false) : object
Change a subreddit's configuration.
| string | $subreddit | Name of subreddit to change. |
| array | $settings | An array containing a key-value pair for each option you want to change: 'allow_top' (boolean) Allow this subreddit to be included /r/all as well as the default and trending lists. 'collapse_deleted_comments' (boolean) Collapse deleted and removed comments. 'comment_score_hide_mins' (int) Minutes to hide comment scores. 'description' (string) Sidebar text. 'exclude_banned_modqueue' (boolean) Exclude posts by site-wide banned users from modqueue/unmoderated. 'header-title' (string) Header mouseover text. 'hide_ads' (boolean) Hide ads (only available for gold only subreddits). 'lang' (string) Language, a valid IETF language tag (underscore separated). 'link_type' (string) Content options. One of 'any', 'link', 'self'. 'over_18' (boolean) Viewers must be over eighteen years old. 'public_description' (string) Description, appears in search results and social media links. 'public_traffic' (boolean) Make the traffic stats page available to everyone. 'show_media' (boolean) Show thumbnail images of content. 'spam_comments' (string) Spam filter strength for comments. One of 'low', 'high', 'all'. 'spam_links' (string) Spam filter strength for links. One of 'low', 'high', 'all'. 'spam_selfposts' (string) Spam filter strength for self posts. One of 'low', 'high', 'all'. 'submit_link_label' (string) Custom label for submit link button (blank for default). 'submit_text' (string) Submission text, text to show on submission page. 'submit_text_label' (string) Custom label for submit text post button (blank for default). 'suggested_comment_sort' (string) Suggested comment sort. One of 'confidence', 'top', 'new', 'hot', 'controversial', 'old', 'random', 'qa'. 'title' (string) Subreddit title, shown in the browser tab. 'type' (string) Subreddit type. One of 'restricted', 'private', 'public'. Other values are 'gold_restricted', 'archived', 'gold_only' and 'employees_only', but result in errors. 'wiki_edit_age' (int) Account age (days) required to edit and create wiki pages. 'wiki_edit_karma' (int) Subreddit karma required to edit and create wiki pages. 'wikimode' (string) Who should be able to edit the wiki. One of 'disabled', 'modonly', 'anyone'. |
| boolean | $i_read_the_documentation | Must be set to true to show that you've read this. |
Response to API call. (RATELIMIT errors can be ignored if you have recently created a subreddit.)
getNotifications(string|null $start_date = null, string|null $end_date = null, string|null $sort = null) : array
Check notifications? Not documented by reddit.
| string|null | $start_date | Start date of notification records. |
| string|null | $end_date | End date of notification records. |
| string|null | $sort | One of 'new', 'old', or null. |
List of notification objects from reddit.
markNotificationAsRead(string $thing_id, boolean $read = true) : mixed
Mark a notification as read based on its thing ID.
| string | $thing_id | Thing ID of the notification to mark as read. |
| boolean | $read | Whether or not to mark as read. False doesn't seem to be working. |
Response to API call, probably null, but could change in the future.
getUserOverview(string $user = null, string|null $sort = null, string|null $time = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments made by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| string|null | $sort | Sorting method. One of 'hot', 'new', 'top', 'controversial', or null. |
| string|null | $time | One of 'hour', 'day', 'week', 'month', 'year', 'all', or null. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and comments made by the specified user.
getUserSubmitted(string $user = null, string|null $sort = null, string|null $time = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain only posts made by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| string|null | $sort | Sorting method. One of 'hot', 'new', 'top', 'controversial', or null. |
| string|null | $time | One of 'hour', 'day', 'week', 'month', 'year', 'all', or null. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts comments made by the specified user.
getUserComments(string $user = null, string|null $sort = null, string|null $time = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain only comments made by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| string|null | $sort | Sorting method. One of 'hot', 'new', 'top', 'controversial', or null. |
| string|null | $time | One of 'hour', 'day', 'week', 'month', 'year', 'all', or null. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of comments made by the specified user.
getUserUpvoted(string $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments upvoted by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and comments upvoted by the specified user.
getUserDownvoted(string $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments downvoted by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and comments downvoted by the specified user.
getUserHidden(string $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments hidden by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and comments hidden by the specified user.
getUserSaved(string $user = null, string|null $sort = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments saved by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| string|null | $sort | Sorting method. One of 'hot', 'new', 'top', 'controversial', or null. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and comments saved by the specified user.
getUserGildingsReceived(string $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments gilded (received) by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and/or comments made by the specified user.
getUserGildingsGiven(string $user = null, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Obtain posts and comments gilded (given) by the specified user.
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts and/or comments made by the specified user.
wikiAllowEditor(string $subreddit, string $username, string $pagename) : object
Allow the specified user to edit the specified wiki page.
| string | $subreddit | Subreddit of the wiki page. |
| string | $username | Username of user to allow. |
| string | $pagename | Name of page to allow user to edit. |
Response to API call. Probably empty, but could contain errors, such as PAGE_NOT_FOUND.
wikiDisallowEditor(string $subreddit, string $username, string $pagename) : object
Remove the specified user from the allowed editors list of the specified wiki page.
| string | $subreddit | Subreddit of the wiki page. |
| string | $username | Username of user to allow. |
| string | $pagename | Name of page to disallow user to edit. |
Response to API call. Probably empty, but could contain errors, such as PAGE_NOT_FOUND.
wikiGetPage(string $subreddit, string $pagename, string|null $revision_id = null, string|null $compare_with = null) : mixed
Retrieves the specified wiki page, optionally at a specific revision or a comparison between revisions.
| string | $subreddit | Subreddit in which to retrieve page. |
| string | $pagename | Page to retrieve. |
| string|null | $revision_id | Specific revision ID to retrieve (optional). |
| string|null | $compare_with | ID of revision with which to compare $revision_id (optional2). May not be working. |
wikiGetRevisions(string $subreddit, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a listing of wiki revisions for all pages within the specified subreddit.
| string | $subreddit | Subreddit for which to retrieve revisions. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of wiki page revisions.
wikiGetPageRevisions(string $subreddit, string $pagename, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a listing of wiki revisions for the specified page within the specified subreddit.
| string | $subreddit | Subreddit for which to retrieve revisions. |
| string | $pagename | Page for which to retrieve revisions. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of wiki page revisions.
wikiEditPage(string $subreddit, string $pagename, string $content, string|null $reason = null, string|null $previous = null) : object
Edit or create a wiki page.
| string | $subreddit | Subreddit in which to edit page. |
| string | $pagename | Page to edit. |
| string | $content | Content with which to overwrite page. |
| string|null | $reason | Reason for revision, optional. |
| string|null | $previous | Revision ID on which to base this edit. Handled by function, so optional. |
wikiToggleHideRevision(string $subreddit, string $pagename, string $revision_id) : object
Toggle a revision's status of hidden.
| string | $subreddit | Subreddit of revision. |
| string | $pagename | Pagename of revision. |
| string | $revision_id | ID of revision to toggle hidden status. |
Response to API call. Status attribute is true if the revision is now hidden, false if shown.
wikiHideRevision(string $subreddit, string $pagename, string $revision_id) : object
Hide a revision from revision listing.
This may take two calls, since the only way to get a revision's hidden status is to toggle it.
| string | $subreddit | Subreddit of revision. |
| string | $pagename | Pagename of revision. |
| string | $revision_id | ID of revision to hide. |
Response to API call. Status attribute is true if the revision is now hidden, false if shown.
wikiUnhideRevision(string $subreddit, string $pagename, string $revision_id) : object
Unhide a revision in the revision listing.
This may take two calls, since the only way to get a revision's hidden status is to toggle it.
| string | $subreddit | Subreddit of revision. |
| string | $pagename | Pagename of revision. |
| string | $revision_id | ID of revision to unhide. |
Response to API call. Status attribute is true if the revision is now hidden, false if shown.
wikiRevertToRevision(string $subreddit, string $pagename, string $revision_id) : object
Revert a wiki page to a previous revision.
| string | $subreddit | Subreddit of revision. |
| string | $pagename | Pagename of revision. |
| string | $revision_id | ID of revision to which to revert. |
Response to API call, probably empty.
wikiGetPageDiscussions(string $subreddit, string $pagename, integer $limit = 25, string|null $after = null, string|null $before = null) : object
Retrieves a listing of discussions about a certain wiki page.
| string | $subreddit | Subreddit of page. |
| string | $pagename | Page for which to retrieve discussions. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of posts.
wikiUpdatePageSettings(string $subreddit, string $pagename, integer|null $permlevel = null, boolean|null $listed = null) : object
Update the specified page's settings in the specified subreddit.
| string | $subreddit | Subreddit of page. |
| string | $pagename | Name of page. |
| integer|null | $permlevel | Permissions level for page. 0 for use subreddit wiki permissions, 1 for only approved editors, 2 for only mods, null to not update. |
| boolean|null | $listed | Show this page on the list of wiki pages. True to show, false to hide, null to not update. |
Settings object for wiki page.
getSubredditListing(string $listing, string $subreddit, string $limit, string $after, string $before, string|null $time = null) : mixed|null
Private function to unify process of retrieving several subreddit listings.
| string | $listing | Listing type. Can be hot, new, controversial, top, gilded, ads. |
| string | $subreddit | |
| string | $limit | |
| string | $after | |
| string | $before | |
| string|null | $time |
getSubredditModListing(string $subreddit, string $location, integer $limit, string|null $after, string|null $before, string|null $only) : object
Private function to unify process of retrieving several subreddit mod listings.
| string | $subreddit | Subreddit for which to retrieve a listing. |
| string | $location | One of 'reports', 'spam', 'modqueue', 'unmoderated', 'edited'. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
| string|null | $only | Obtain only links or comments. One of 'links' or 'comments'. Null for both. |
Listing of selected subreddit's posts and/or comments at the selected location.
getSubredditUsers(string $location, string $subreddit, string|null $user, integer $limit, string|null $after, string|null $before) : object
Private function for obtaining a subreddit's /about/$location user listings.
Using pagination will result in the last item of the previous page appearing as the first item of the next page.
| string | $location | One of 'banned', 'muted', 'wikibanned', 'contributors', 'wikicontributors', 'moderators' |
| string | $subreddit | Subreddit for which to obtain the listing. |
| string|null | $user | Jump to a specific user. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of users.
getMySubreddits(string $location, integer $limit, string|null $after, string|null $before) : object
Private method for retrieving /subreddits/mine/$location.
| string | $location | One of 'subscriber', 'contributor', 'moderator' |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getSubreddits(string $location, integer $limit, string|null $after, string|null $before) : object
Private function for retrieving a list of all subreddits by $location
| string | $location | One of 'popular', 'new', 'gold', 'default'. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
Listing of subreddits.
getUserListing(string $location, string $user, string|null $sort, integer $limit, string|null $after, string|null $before, string|null $time = null, string|null $show = null) : object
Private method for obtaining a specific user's post and comment listings.
| string | $location | One of 'overview', 'submitted', 'comments', 'upvoted', 'downvoted', 'hidden', 'saved', 'gilded'. |
| string | $user | Username of user for whom to retrieve records. Defaults to the current user. |
| string|null | $sort | Sorting method. One of 'hot', 'new', 'top', 'controversial', or null. |
| integer | $limit | Upper limit of number of items to retrieve. Maximum is 100. |
| string|null | $after | Get items lower on list than this entry. Does not mean chronologically. |
| string|null | $before | Get items higher on list than this entry. Does not mean chronologically. |
| string|null | $time | One of 'hour', 'day', 'week', 'month', 'year', 'all', or null. |
| string|null | $show | When getting gildings, use 'given' to show gildings issued by the user. Defaults to gildings received. |
Listing of posts and/or comments made by the specified user.


THE MONSTER (IL MOSTRO) A film review by Steve Rhodes Copyright 1996 Steve Rhodes
RATING (0 TO ****): **
THE MONSTER (IL MOSTRO) is an Italian sexual farce staring Roberto Benigni as Loris. Benigni is being hailed as Italy's Charlie Chaplin. To me THE MONSTER is like an old Jerry Lewis movie, but more bawdy. If you like heavy physical comedy with lots of slapstick humor and plenty of sight gags, then this is your show. It plays like a related series of "Saturday Night Live" skits, and accomplishes what it sets out to do.
Loris is a shop-window outfitter and gardener who is told by a friend that a woman at a party is a nymphomaniac. When he is not looking the woman leaves and another takes her place. When he tries to fondle the new woman, she runs away. Later she meets him when he has his gardening chain saw out, and he falls into her with his chain saw. She goes to the police and tells them about both attacks.
The police decide he is the serial killer they have been looking for, but they must get an undercover policewoman to get him to make a pass at her first before they can arrest him. Officer Jessica (Nicoletta Braschi) is the only one brave enough to volunteer. She goes to his apartment, gets him to agree to let her be his paying roommate, and stays naked most of the time to get him to make a pass, which he never does.
The movie has many subplots. In one Loris tries to learn Chinese to get a job at a Chinese Import/Export company. He does the Chinese with exaggerated Italian hand gestures and bizarre sing-sing Chinese intonations. In another subplot he keeps trying to evade his landlord who wants to sell the apartment Loris is renting. In the most disgusting subplot, the neighbor's 6 year old girl keeps killing cats and dumping them in his apartment. Later he retaliates by decapitating her favorite doll and then pulling all of its limbs off.
As an example of the humor from the trailer and one that my audience was in riotous laugher over, Loris bumps into a guy with a lit cigarette. The cigarette falls into Loris's pants and lands in his groin area. At first he does not notice it as he is ogling an attractive blonde. When he realizes he is in pain, he starts beating his crotch area furiously and finally grabs a one liter bottle of mineral water and sticks the neck down his pants to quench the fire. The woman behind me was in uncontrollable laughter at this point.
Most of the humor is of scenes that look sexual, but aren't. Typical of these are when Loris gets his coat caught in a mannequin he is moving. From a distance, Officer Jessica thinks he is having sex with the mannequin.
For such a risque show, there is nothing actually shown. All of the sequences that looks like sex, is stuff that is misinterpreted as sex by one of the other characters, and all of the nudity is not shown but is described by one of the other characters. The most that is shown is some not particularly revealing lingerie that Jessica wears.
I never laughed a single time in the entire show, and I saw every minute of it. Half of my audience was as silent as I was, and the other half could barely ever shut up. I do not like humor that relies solely on the physical. The script by Roberto Benigni and Vincenzo Cerami has little dialog of merit, and the director and star Roberto Benigni relied upon his skits to carry the film. I did not care for Benigni, but did like the work of Nicoletta Braschi. She was much more human. I should point out that the ending is the best part so hang in there until the last if you can.
THE MONSTER runs 1:52, which was too long and repetitive for me. It is in Italian with English subtitles. The film is not rated, but would probably get an R for all the explicit sexual references and language. There is no sex, nudity, or violence. The film would be fine for any teenager. Although I can not recommend the film and did not like it, I think it is well made if you like Jerry Lewis style comedies and so I give it **.
**** = One of the top few films of this or any year. A must see film. *** = Excellent show. Look for it. ** = Average movie. Kind of enjoyable. * = Poor show.  Totally unbearable.
REVIEW WRITTEN ON: May 16, 1996
Opinions expressed are mine and not meant to reflect my employer's.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


PALMETTO A film review by Matt Williams
RATING: * 1/2* out of * * * *
An attempt at Florida film noir, Palmetto fails at the most fundamental levels. It's slow moving, uninvolving, and plain just uninteresting.
Harry Barber (Woody Harrelson) is an ex-newspaper man, just out of jail after being framed for a crime. His luck hasn't been the best, but things are looking up when a mysterious woman, Rhea Malroux (Elisabeth Shue), approaches him with a proposition.
At first, all Harry is expected to do is provide a threatening voice on the phone, and to collect the money (of which he gets to keep 10%). But, as the deed is carried out, things are not what they seem, and Harry gets caught in the ensuing storm.
Palmetto pulls out all the stops to achieve a film noir film, but the effect never quite comes together. It's got the sultry Florida heat, seductive women, and even curvier plot twists, but the whole thing smells of paint-by-numbers. Sure, the right ingredients are there, but the end result is much too artificial.
 Even the plot twists don't seem to flow well with the rest of the story. Some of them, for example, come from so far afield that they seemingly only make sense because the writer needed a twist (for example: Harry's spontaneous job offer, or the whole typewriter situation).
The characters are mostly lifeless, played to type, but not much more. Woody Harrelson plays Harry with such imbecilic thick-headedness that it's hard to even picture him as an ex-journalist. Elisabeth Shue vamps it up, but doesn't add anything special to the role.  Some of the supporting cast (notably Gina Gershon and Michael Rapaport) give stronger, but, in the end, meaningless performances.
And to top it off, the pacing of the film is much too slow. As the movie grinds to a halt, you're given too much time to wonder why you're wasting it watching Palmetto. If you're in the mood for this type of movie, you'd be much better off going out and renting some classic film noir.
Copyright 1998 Matt Williams
- Matt Williams<EMAIL_ADDRESS>Reviewer for Shreck's Cinema: http://www.shreck.com Home of over 500 reviews, and information on over 600 upcoming releases
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Build a quick integration that allows your users easy access to OneDrive files from within your app. Now with OneDrive for Business support you can build a robust file management and workflow app for your line of business.
Use the OneDrive API directly or connect your app with Microsoft Graph to access data from across Office 365.
Whether you love .NET or Python, or are building apps for iOS or Android devices, we want to make it as easy as possible to develop apps for OneDrive.
Want to get started as quickly as possible? With only a few lines of code you can enable your app to open and save files to and from OneDrive.
At Docady, we integrate with many cloud services. Adding the OneDrive API was so easy, we were up an running in hours, including automated tests. And, having the integration serve both OneDrive consumers and Enterprise users was just perfect.
Nadav Weizmann (Wiz)
CTO and Co-Founder Docady
Explore the OneDrive APIs and the available methods by submitting API requests and viewing the responses via a web console.
To get started with the OneDrive API, register your app for OneDrive, OneDrive for Business, or both.
New features are constantly being added to our API to provide your app access to more of what OneDrive has to offer.
All of our documentation is on GitHub, but you can get started here. We’ve worked hard to create a modern, RESTful API environment that works the way you do.


{% extends "base.html" %} {% block title %} Delete jam {% endblock %} {% block content %}
Are you sure you want to delete this jam?
Back to jam


Hurhada is located at the southern end of the Gulf of Suez. It is possible to secure an agent here for the Suez canal transit, although better deals may be found in Suez.
Position 27° 13' 26"N, 33° 50' 36"E (marina entrance)
Formalities are lengthy if not using an agent (it is possible officials may refuse to deal with you directly, if you choose not to hire an agent). Each arrival must be registered with Immigration. All foreign flagged boats are liable for a Customs Fee, which will be done with the Agent in Hurghada, along with the other paperwork.
When you arrive in Hurghada Port, you can either come alongside the dock (if there's space between the fast ferry and fishing boats) or drop anchor just outside. It is better to turn up at Hurghada Port early in the morning and try and avoid Fridays, as most officials will be off or away praying.
The agent will take the ship's documents, passports, and last Port Clearance. It can take up to four hours to complete formalities. The agent will keep the documents in order to finish all the necessary clearances before returning them. Agency fee approx. US$60.
Written permission is required to move the boat anywhere within the port, even to get fuel.
Note: It is now possible to clear in at Abu Tig Marina.
See Agents for details of any Clearance agents.
Last updated February 2012.
 Also tell him where you are going and call him when you get back.
Do not leave or enter the Marina at night.
Last updated February 2012.


--- layout: post title: Burnt Bread Powder Recipe | SAVEUR date: type: post parent_id: '0' published: false image: assets/images/post-img/ status: draft categories: - Etc. tags: [] meta: _edit_last: '1' _thumbnail_id: '166' _posts_by_tag_page_fields: a:2:{s:12:"widget_title";s:0:"";s:11:"widget_tags";s:0:"";} author: login: mkelley email<EMAIL_ADDRESS>display_name: Mike first_name: Mike last_name: Kelley ---
The fragrant charcoal-like dust in this clever morning mishap lends a nutty, smoky element to spice mixes and sauces, chicken, and roasted vegetables. Or do as we did, and mix it into ice cream.


Hello there, awesome person!
Welcome to my website
I am Agba Darius Akre
And this is my first step into GitHub
My favorite site is
GitHub
!
I enjoy it
And I will explore more
Good luck


|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIData org.icefaces.ace.component.tree.TreeBase
public class TreeBase
Renders a hierarchical structure of ace:node contents. Supports client-side and server-side node selection and expansion. Other features available include: user reordering of nodes, multiple selection and lazy node state initialization.
For more information, see the Tree Wiki Documentation.
| Nested Class Summary | |
|---|---|
protected static class |
TreeBase.PropertyKeys
|
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIData |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
TreeBase()
|
| Method Summary | |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
java.lang.String |
getDefaultEventName()
|
java.lang.String |
getDefaultExecute(java.lang.String event)
|
java.lang.String |
getDefaultRender(java.lang.String event)
|
java.util.Collection<java.lang.String> |
getEventNames()
|
TreeExpansionMode |
getExpansionMode()
Return the value of the expansionMode property. |
java.lang.String |
getFamily()
|
KeySegmentConverter |
getKeyConverter()
Return the value of the keyConverter property. |
TreeSelectionMode |
getSelectionMode()
Return the value of the selectionMode property. |
NodeStateCreationCallback |
getStateCreationCallback()
Return the value of the stateCreationCallback property. |
NodeStateMap |
getStateMap()
Return the value of the stateMap property. |
java.lang.String |
getStateVar()
Return the value of the stateVar property. |
java.lang.String |
getType()
Return the value of the type property. |
java.lang.Boolean |
isExpansion()
Return the value of the expansion property. |
java.lang.Boolean |
isReordering()
Return the value of the reordering property. |
java.lang.Boolean |
isSelection()
Return the value of the selection property. |
java.lang.Boolean |
isSelectMultiple()
Return the value of the selectMultiple property. |
void |
setExpansion(java.lang.Boolean expansion)
Set the value of the expansion property. |
void |
setExpansionMode(TreeExpansionMode expansionMode)
Set the value of the expansionMode property. |
void |
setKeyConverter(KeySegmentConverter keyConverter)
Set the value of the keyConverter property. |
void |
setReordering(java.lang.Boolean reordering)
Set the value of the reordering property. |
void |
setSelection(java.lang.Boolean selection)
Set the value of the selection property. |
void |
setSelectionMode(TreeSelectionMode selectionMode)
Set the value of the selectionMode property. |
void |
setSelectMultiple(java.lang.Boolean selectMultiple)
Set the value of the selectMultiple property. |
void |
setStateCreationCallback(NodeStateCreationCallback stateCreationCallback)
Set the value of the stateCreationCallback property. |
void |
setStateMap(NodeStateMap stateMap)
Set the value of the stateMap property. |
void |
setStateVar(java.lang.String stateVar)
Set the value of the stateVar property. |
void |
setType(java.lang.String type)
Set the value of the type property. |
| Methods inherited from class javax.faces.component.UIData |
|---|
broadcast, createUniqueId, encodeBegin, getClientId, getDataModel, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, invokeOnComponent, isRowAvailable, isRowStatePreserved, markInitialState, processDecodes, processUpdates, processValidators, queueEvent, restoreState, saveState, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setRowStatePreserved, setValue, setValueBinding, setValueExpression, setVar, visitTree |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
getClientBehaviors |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
| Constructor Detail |
|---|
public TreeBase()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIData
public void setExpansion(java.lang.Boolean expansion)
Set the value of the expansion
property.
Contents: Enable expansion feature of this tree component. This toggles this feature for the entire tree, per-node configuration of this feature available via the NodeState.
setExpansion
in interface ITree
public java.lang.Boolean isExpansion()
Return the value of the expansion
property.
Contents: Enable expansion feature of this tree component. This toggles this feature for the entire tree, per-node configuration of this feature available via the NodeState. Default = 'false'.
isExpansion
in interface ITree
public void setExpansionMode(TreeExpansionMode expansionMode)
Set the value of the expansionMode
property.
Contents: Select the request behaviour of the expansion feature. When 'client', the children of every node are pre-rendered in the DOM and exposed by JavaScript when nodes are expanded. In the default 'server' mode, only visible nodes are inthe DOM and expansion and contraction are caused by ajax page updates.
setExpansionMode
in interface ITree
public TreeExpansionMode getExpansionMode()
Return the value of the expansionMode
property.
Contents: Select the request behaviour of the expansion feature. When 'client', the children of every node are pre-rendered in the DOM and exposed by JavaScript when nodes are expanded. In the default 'server' mode, only visible nodes are inthe DOM and expansion and contraction are caused by ajax page updates. Default = 'org.icefaces.ace.component.tree.TreeExpansionMode.server'.
getExpansionMode
in interface ITree
public void setKeyConverter(KeySegmentConverter keyConverter)
Set the value of the keyConverter
property.
Contents: Optionally define a custom KeySegmentConverter object to produce segmented identifier keys for nodes based on something other than indexes.
setKeyConverter
in interface ITree
public KeySegmentConverter getKeyConverter()
Return the value of the keyConverter
property.
Contents: Optionally define a custom KeySegmentConverter object to produce segmented identifier keys for nodes based on something other than indexes.
getKeyConverter
in interface ITree
public void setReordering(java.lang.Boolean reordering)
Set the value of the reordering
property.
Contents: Enable reordering of the nodes of this tree.
setReordering
in interface ITree
public java.lang.Boolean isReordering()
Return the value of the reordering
property.
Contents: Enable reordering of the nodes of this tree. Default = 'false'.
isReordering
in interface ITree
public void setSelectMultiple(java.lang.Boolean selectMultiple)
Set the value of the selectMultiple
property.
Contents: Disable the selection of multiple nodes simultaneously.
setSelectMultiple
in interface ITree
public java.lang.Boolean isSelectMultiple()
Return the value of the selectMultiple
property.
Contents: Disable the selection of multiple nodes simultaneously. Default = 'true'.
isSelectMultiple
in interface ITree
public void setSelection(java.lang.Boolean selection)
Set the value of the selection
property.
Contents: Enable selection feature of this tree component. This toggles this feature for the entire tree, per-node configuration of this feature available via the NodeState.
setSelection
in interface ITree
public java.lang.Boolean isSelection()
Return the value of the selection
property.
Contents: Enable selection feature of this tree component. This toggles this feature for the entire tree, per-node configuration of this feature available via the NodeState. Default = 'false'.
isSelection
in interface ITree
public void setSelectionMode(TreeSelectionMode selectionMode)
Set the value of the selectionMode
property.
Contents: Select the request behaviour of the selection feature. When 'client', the (de)selection of a node is recorded on the client, and communicated to the server on the next request executing this component. In the default 'server' mode, when a node is (de)selected, the component communicates the change the server immediately with an ajax update.
setSelectionMode
in interface ITree
public TreeSelectionMode getSelectionMode()
Return the value of the selectionMode
property.
Contents: Select the request behaviour of the selection feature. When 'client', the (de)selection of a node is recorded on the client, and communicated to the server on the next request executing this component. In the default 'server' mode, when a node is (de)selected, the component communicates the change the server immediately with an ajax update. Default = 'org.icefaces.ace.component.tree.TreeSelectionMode.server'.
getSelectionMode
in interface ITree
public void setStateCreationCallback(NodeStateCreationCallback stateCreationCallback)
Set the value of the stateCreationCallback
property.
Contents: Bind an implementer of the NodeStateCreationCallback interface to take as input, a node object and a default NodeState and return a NodeState configured with the state appropriatefor the given node object.
setStateCreationCallback
in interface ITree
public NodeStateCreationCallback getStateCreationCallback()
Return the value of the stateCreationCallback
property.
Contents: Bind an implementer of the NodeStateCreationCallback interface to take as input, a node object and a default NodeState and return a NodeState configured with the state appropriatefor the given node object.
getStateCreationCallback
in interface ITree
public void setStateMap(NodeStateMap stateMap)
Set the value of the stateMap
property.
Contents: Define a NodeStateMap ValueExpression to access the store of Tree node object state information. The state map provides an API for looking up the state of a particular node object, as well as reverse look-ups to get node objects with a particular state.
setStateMap
in interface ITree
public NodeStateMap getStateMap()
Return the value of the stateMap
property.
Contents: Define a NodeStateMap ValueExpression to access the store of Tree node object state information. The state map provides an API for looking up the state of a particular node object, as well as reverse look-ups to get node objects with a particular state.
getStateMap
in interface ITree
public void setStateVar(java.lang.String stateVar)
Set the value of the stateVar
property.
Contents: The request-scope attribute exposing the state object for the currentnode when iterating.
setStateVar
in interface ITree
public java.lang.String getStateVar()
Return the value of the stateVar
property.
Contents: The request-scope attribute exposing the state object for the currentnode when iterating. Default = 'nodeState'.
getStateVar
in interface ITree
public void setType(java.lang.String type)
Set the value of the type
property.
Contents: Define a ValueExpression that returns a String representation of the 'rendering type' of this node. The rendering type is matched against the String 'type' attribute of ace:node tag instances to determine which node template should be used to render a given node object.
setType
in interface ITree
public java.lang.String getType()
Return the value of the type
property.
Contents: Define a ValueExpression that returns a String representation of the 'rendering type' of this node. The rendering type is matched against the String 'type' attribute of ace:node tag instances to determine which node template should be used to render a given node object.
getType
in interface ITree
public java.util.Collection<java.lang.String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public java.lang.String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender
in interface IceClientBehaviorHolder
public java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute
in interface IceClientBehaviorHolder
public void addClientBehavior(java.lang.String eventName, javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class javax.faces.component.UIComponentBase
|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


{% extends 'microDonation/base.html' %} {% load static %} {% block title %} About {% endblock %} {% block about %}
|
We started Micro Donate in 2020, in conjunction with Paul McBurney and Mark Sherriff, at the University of Virginia. Our experience showed us a large gap in the online donation software market, and a lack of an all-comphrensive resource to encourage donating and ensure a smooth process. With simplicity built in mind, our services enable you to discover deserving causes across the globe, and allow you to avoid the stress of deciding on a single instituition with our slider method of donating. |


Hour angle and declination to parallactic angle
(double precision).
CALL:
D = sla_PA (HA, DEC, PHI)
GIVEN:
HA
D
hour angle in radians (geocentric apparent)
DEC
D
declination in radians (geocentric apparent)
PHI
D
latitude in radians (geodetic)
RETURNED:
sla_PA
D
parallactic angle (radians, in the range )
NOTES:
1.
The parallactic angle at a point in the sky is the position
angle of the vertical, i.e. the angle between the direction to
the pole and to the zenith. In precise applications care must
be taken only to use geocentric apparent and to consider
separately the effects of atmospheric refraction and telescope
mount errors.


The Tale of Tommy Fox
by Arthur Scott Bailey
Chapter 14: “Tommy Fox Makes a Strange Friend”
Additional Information
- Year Published: 1917
- Language: English
- Country of Origin: United States of America
- Source: Bailey, A. S. (1917). The Tale of Tommy Fox. New York: Grosset and Dunlap.
-
Readability:
- Flesch–Kincaid Level: 4.0
- Word Count: 637
- Genre: Fantasy
- Keywords: 20th century literature, american literature, children's stories, sleepy-time tales
- ✎ Cite This
Downloads
There was one thing, especially, that surprised Tommy Fox. And I think it surprised the dog Spot even more. Tommy and Spot became friends.
At first, whenever Spot came near, Tommy would run into his hole, as far as his chain would allow him. But after a time he began to peep out at his visitor. And finally he grew so bold that when Spot came to see him he stayed above ground, though to be sure he sat close to the door of his house, so that he could whisk out of sight if Spot should come too near him.
Since Spot often came to look at Johnnie Green’s new pet, he began to like Tommy. And instead of growling, he would wag his tail, and try to be friendly. And the first thing they knew, they were playing together, and rolling and tumbling about, pretending to bite each other.
Now, Spot was much bigger than Tommy Fox, and stronger. And sometimes when they played together he would get so rough that Tommy would run down into his underground house and hide. But he never lost his temper, because he knew that Spot did not mean to hurt him. And Tommy was always ready to come out again and play some more.
Johnnie Green was very proud of his new pet. And one day when he was going to drive to the village he took Tommy Fox with him. He tied Tommy’s chain to the wagon and Tommy sat up on the seat beside his young master. He had a fine ride. It frightened him at first, to see so many people, for it was market-day, when the farmers for miles around came to the village to sell their butter and eggs and vegetables. There was a great number of dogs, too, running about the village streets. Tommy was glad that he was high up on the seat of the wagon, beside Johnnie Green, for he knew that he was perfectly safe there. He saw so many strange sights that after that first day whenever he saw Johnnie starting off for the village he was never satisfied unless he went too.
On the whole, Tommy Fox did not have a bad time, being Johnnie Green’s pet. And although Farmer Green often complained that Johnnie would rather play with his young fox than drive the cows, or feed the chickens, or fetch water from the pump, still Farmer Green himself rather enjoyed watching Tommy Fox.
But at last something happened that made Farmer Green very angry. One morning he discovered that a fine hen had disappeared during the night. And the following night another hen vanished.
Farmer Green was puzzled. Old Spot had been loose all the time, and he had never barked once. That was what made Farmer Green suspicious.
Farmer Green went out into his door-yard, where Tommy Fox was basking in the sunshine. Tommy looked up at Farmer Green very innocently. You would have thought he had never done anything wrong in all his life.
Farmer Green began to examine the ground about Tommy’s house. He didn’t find anything unusual. But when he knelt down and peered into the hole Tommy Fox had dug for himself, what should he see but several hen-feathers!
That was enough for Farmer Green. He knew then where his fat hens had gone. But he was puzzled. There was Tommy, chained fast to the stake. How could he ever have visited the hen-house?
Farmer Green picked up Tommy’s chain. And to his surprise he found that the end of it wasn’t fastened to the stake at all! It had worked loose, somehow. And Tommy had been free to wander about as much as he pleased.


If you have qualified for upgrades, you may redeem them below according to your frequent flyer status