You are here

function _messaging_twitter_include in Messaging 6.2

Same name and namespace in other branches
  1. 6.4 messaging_twitter/messaging_twitter.module \_messaging_twitter_include()
  2. 6 messaging_twitter/messaging_twitter.module \_messaging_twitter_include()
  3. 6.3 messaging_twitter/messaging_twitter.module \_messaging_twitter_include()

Load twitter inc only once

5 calls to _messaging_twitter_include()
messaging_twitter_admin in messaging_twitter/messaging_twitter.module
Admin settings
messaging_twitter_admin_form_validate in messaging_twitter/messaging_twitter.module
Validate admin settings
messaging_twitter_send_at in messaging_twitter/messaging_twitter.module
Send a direct message to Twitter user
messaging_twitter_send_dm in messaging_twitter/messaging_twitter.module
Send a direct message to Twitter user
messaging_twitter_user_destination in messaging_twitter/messaging_twitter.module
Map user account to twitter screen name

File

messaging_twitter/messaging_twitter.module, line 172
Messaging Twitter sending method

Code

function _messaging_twitter_include() {
  static $include = FALSE;
  if (!$include) {
    module_load_include('inc', 'twitter');
    $include = TRUE;
  }
}