You are here

Functions in Drupagram 7

Primary tabs

Namesort descending Location Description Direct uses Strings
drupagram_account_delete ./drupagram.inc Delete a drupagram account and its statuses. 1
drupagram_account_form ./drupagram.pages.inc Form to add a Instagram account 1
drupagram_account_form_submit ./drupagram.pages.inc Implements hook_FORM_ID_submit().
drupagram_account_list_form ./drupagram.pages.inc Account List form builder. 1
drupagram_account_list_form_submit ./drupagram.pages.inc @todo Please document this function.
drupagram_account_load ./drupagram.inc Load a Instagram account from {drupagram_account}. 7
drupagram_account_load_all ./drupagram.inc List all accounts. 1
drupagram_account_oauth_validate ./drupagram.pages.inc If OAuth is enabled, intercept submission of 'Add Account' form on user/%/edit/drupagram page and redirect to Instagram for auth. 1
drupagram_account_save ./drupagram.inc Saves a InstagramUser object to {drupagram_account} 3
drupagram_actions_action_info drupagram_actions/drupagram_actions.module Implements hook_action_info().
drupagram_actions_has_linked drupagram_actions/drupagram_actions.rules.inc The callback function for the Rules condition 1
drupagram_actions_less_140 drupagram_actions/drupagram_actions.rules.inc The callback function for the Rules condition 1
drupagram_actions_rules_action_info drupagram_actions/drupagram_actions.rules.inc Implements hook_rules_action_info() on behalf of the drupagram module.
drupagram_actions_rules_condition_info drupagram_actions/drupagram_actions.rules.inc Implements hook_rules_condition_info().
drupagram_actions_set_status drupagram_actions/drupagram_actions.rules.inc Fetches drupagram account info and submits with the message to the drupagram API 1
drupagram_actions_set_status_action drupagram_actions/drupagram_actions.module Implementation of a configurable Instagram actions. @todo Implementation for language negotiation for the body and sumary. Also need implementation for bodies with multiple values. Right now it is hard coded and it will only get body and summary for…
drupagram_actions_set_status_action_form drupagram_actions/drupagram_actions.module Returns a form definition so the Instagram action can be configured.
drupagram_actions_set_status_action_submit drupagram_actions/drupagram_actions.module Submits the form and sets the drupagram account pulling the data from the drupagram_account table.
drupagram_actions_set_status_action_validate drupagram_actions/drupagram_actions.module Verifies if Oauth module has been setup and also checks the Instagram authentication against the provided screen name.
drupagram_admin_form ./drupagram.pages.inc Form builder; Instagram settings form. 1
drupagram_admin_paths_alter ./drupagram.module Implements hook_admin_paths_alter().
drupagram_connect ./drupagram.inc Connect to the API using the 'proper' version (Oauth vs. standard) 2
drupagram_cron ./drupagram.module Implements hook_cron().
drupagram_drupagram_accounts ./drupagram.module Implements hook_drupagram_accounts(). We want to move this into a separate module eventually, but sticking the code here and using a hook lets other modules solve the 'what accounts can a user post with' problem in cleaner ways.
drupagram_edit_access ./drupagram.module Access callback for drupagram account editing. 1
drupagram_emoji ./drupagram.inc Helper function to handle emoji special characters. 2
drupagram_fetch_recent_items ./drupagram.inc Fetches a user's recent items. 1
drupagram_fetch_user_feed ./drupagram.inc Fetches a user's feed
drupagram_filter_info ./drupagram.module Implements hook_filter_info().
drupagram_install ./drupagram.install Implements hook_install().
drupagram_local_image ./drupagram.module Retrieves a local fid of a remote image. Attempts to save it if none is found. 1 1
drupagram_media_save ./drupagram.inc Saves a InstagramMedia object to {drupagram} 2
drupagram_menu ./drupagram.module Implements hook_menu().
drupagram_oauth_callback ./drupagram.pages.inc @TODO This code should probably be reviewed. 1
drupagram_oauth_callback_form ./drupagram.pages.inc Form builder function. In D6 this form was built in response to the oauth return request from Instagram, and the setting of $form['#post'] seems to have caused the form to be validated and processed. 1
drupagram_oauth_callback_form_submit ./drupagram.pages.inc Handle a Instagram OAuth return request and store the account creds in the DB. Redirects to user/%/edit/drupagram
drupagram_oauth_callback_form_validate ./drupagram.pages.inc Validate results from Instagram OAuth return request.
drupagram_permission ./drupagram.module Implements hook_permission().
drupagram_schema ./drupagram.install Implements hook_schema().
drupagram_set_status ./drupagram.inc Post a message to drupagram 2
drupagram_shorten_url ./drupagram.module Very lightweight helper function to generate a TinyURL for a given post. 1
drupagram_theme ./drupagram.module Implements hook_theme().
drupagram_uninstall ./drupagram.install Implements hook_uninstall().
drupagram_update_7100 ./drupagram.install Adds the drupagram_local_image table.
drupagram_update_7101 ./drupagram.install Reload the schema changes.
drupagram_user_categories ./drupagram.module Implements hook_user_categories().
drupagram_user_load ./drupagram.module Implements hook_user_load().
drupagram_user_make_global ./drupagram.pages.inc @todo Please document this function. 1
drupagram_user_make_global_submit ./drupagram.pages.inc @todo Please document this function.
drupagram_user_settings ./drupagram.pages.inc @todo Please document this function. 1

Pages

Other projects