Class Hook_ocp_merge

Description

Located in /sources/hooks/modules/admin_import/ocp_merge.php (line 21)


	
			
Method Summary
SHORT_TEXT convert_multi_code (SHORT_TEXT $multi_code)
string get_lang_string (object The $db, integer $id)
void import_attachments (object The $db, string $table_prefix, PATH $file_base)
void import_attachment_references (object The $db, string $table_prefix, PATH $file_base)
void import_authors (object The $db, string $table_prefix, PATH $file_base)
void import_awards (object The $db, string $table_prefix, PATH $file_base)
void import_banners (object The $db, string $table_prefix, PATH $file_base)
void import_bookmarks (object The $db, string $table_prefix, PATH $file_base)
void import_calendar (object The $db, string $table_prefix, PATH $file_base)
void import_catalogues (object The $db, string $table_prefix, PATH $file_base)
void import_cedi (object The $db, string $table_prefix, PATH $file_base)
void import_chat_rooms (object The $db, string $table_prefix, PATH $file_base)
void import_config (object The $db, string $table_prefix, PATH $file_base)
void import_custom_comcode (object The $db, string $table_prefix, PATH $file_base)
void import_downloads_and_categories (object The $db, string $table_prefix, PATH $file_base)
void import_ecommerce (object The $db, string $table_prefix, PATH $file_base)
void import_feedback (object The $db, string $table_prefix, PATH $file_base)
void import_filedump (object The $db, string $table_prefix, PATH $file_base)
void import_flagrant (object The $db, string $table_prefix, PATH $file_base)
void import_images_and_galleries (object The $db, string $table_prefix, PATH $file_base)
void import_iotds (object The $db, string $table_prefix, PATH $file_base)
void import_ip_bans (object The $db, string $table_prefix, PATH $file_base)
void import_newsletter_subscriptions (object The $db, string $table_prefix, PATH $file_base)
void import_news_and_categories (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_categories (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_custom_profile_fields (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_emoticons (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_forums (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_groups (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_members (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_multi_moderations (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_polls_and_votes (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_posts (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_post_templates (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_topics (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_tracking (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_warnings (object The $db, string $table_prefix, PATH $file_base)
void import_ocf_welcome_emails (object The $db, string $table_prefix, PATH $file_base)
void import_permissions (object The $db, string $table_prefix, PATH $file_base)
void import_pointstore (object The $db, string $table_prefix, PATH $file_base)
void import_points_gifts_and_charges (object The $db, string $table_prefix, PATH $file_base)
void import_polls (object The $db, string $table_prefix, PATH $file_base)
void import_quizzes (object The $db, string $table_prefix, PATH $file_base)
void import_redirects (object The $db, string $table_prefix, PATH $file_base)
void import_stats (object The $db, string $table_prefix, PATH $file_base)
void import_support_tickets (object The $db, string $table_prefix, PATH $file_base)
void import_themes (object The $db, string $table_prefix, PATH $file_base)
void import_useronline_tracking (object The $db, string $table_prefix, PATH $file_base)
void import_wordfilter (object The $db, string $table_prefix, PATH $file_base)
void import_zones (object The $db, string $table_prefix, PATH $file_base)
?array info ()
boolean on_same_msn (PATH $file_base)
?tempcode pre_import_tests (object The $db, string $table_prefix, PATH $file_base)
Methods
convert_multi_code (line 2214)

Pass a multi-code through a forum remap.

  • return: New multi code
SHORT_TEXT convert_multi_code (SHORT_TEXT $multi_code)
  • SHORT_TEXT $multi_code: Multi code
get_lang_string (line 241)

Fetch and clean up a language string.

  • return: The cleaned-up string
string get_lang_string (object The $db, integer $id)
  • object The $db: DB connection to import from
  • integer $id: The string ID
import_attachments (line 492)

Standard import function.

void import_attachments (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_attachment_references (line 524)

Standard import function.

void import_attachment_references (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_authors (line 611)

Standard import function.

void import_authors (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_awards (line 1595)

Standard import function.

void import_awards (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_banners (line 631)

Standard import function.

void import_banners (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_bookmarks (line 290)

Standard import function.

void import_bookmarks (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_calendar (line 1221)

Standard import function.

void import_calendar (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_catalogues (line 1438)

Standard import function.

void import_catalogues (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_cedi (line 1094)

Standard import function.

void import_cedi (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_chat_rooms (line 1550)

Standard import function.

void import_chat_rooms (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_config (line 698)

Standard import function.

void import_config (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_custom_comcode (line 1171)

Standard import function.

void import_custom_comcode (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_downloads_and_categories (line 977)

Standard import function.

void import_downloads_and_categories (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ecommerce (line 424)

Standard import function.

void import_ecommerce (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_feedback (line 551)

Standard import function.

void import_feedback (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_filedump (line 1637)

Standard import function.

void import_filedump (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_flagrant (line 956)

Standard import function.

void import_flagrant (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_images_and_galleries (line 1046)

Standard import function.

void import_images_and_galleries (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_iotds (line 722)

Standard import function.

void import_iotds (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ip_bans (line 1384)

Standard import function.

void import_ip_bans (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_newsletter_subscriptions (line 877)

Standard import function.

void import_newsletter_subscriptions (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_news_and_categories (line 831)

Standard import function.

void import_news_and_categories (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_categories (line 1879)

Standard import function.

void import_ocf_categories (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_custom_profile_fields (line 1844)

Standard import function.

void import_ocf_custom_profile_fields (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_emoticons (line 2193)

Standard import function.

void import_ocf_emoticons (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_forums (line 1910)

Standard import function.

void import_ocf_forums (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_groups (line 1732)

Standard import function.

void import_ocf_groups (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_members (line 1771)

Standard import function.

void import_ocf_members (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_multi_moderations (line 2257)

Standard import function.

void import_ocf_multi_moderations (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_polls_and_votes (line 2095)

Standard import function.

void import_ocf_polls_and_votes (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_posts (line 2025)

Standard import function.

void import_ocf_posts (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_post_templates (line 2282)

Standard import function.

void import_ocf_post_templates (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_topics (line 1968)

Standard import function.

void import_ocf_topics (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_tracking (line 2144)

Standard import function.

void import_ocf_tracking (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_warnings (line 2301)

Standard import function.

void import_ocf_warnings (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_ocf_welcome_emails (line 267)

Standard import function.

void import_ocf_welcome_emails (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_permissions (line 1658)

Standard import function.

void import_permissions (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_pointstore (line 929)

Standard import function.

void import_pointstore (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_points_gifts_and_charges (line 657)

Standard import function.

void import_points_gifts_and_charges (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_polls (line 748)

Standard import function.

void import_polls (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_quizzes (line 311)

Standard import function.

void import_quizzes (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_redirects (line 1289)

Standard import function.

void import_redirects (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_stats (line 1305)

Standard import function.

void import_stats (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_support_tickets (line 1351)

Standard import function.

void import_support_tickets (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_themes (line 1334)

Standard import function.

void import_themes (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_useronline_tracking (line 1368)

Standard import function.

void import_useronline_tracking (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_wordfilter (line 1202)

Standard import function.

void import_wordfilter (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
import_zones (line 1410)

Standard import function.

void import_zones (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from
info (line 29)

Standard modular info function.

  • return: Map of module info (NULL: module is disabled).
?array info ()
on_same_msn (line 216)

See if the importing site is on the same M.S.N. as the site being imported.

  • return: Answer
boolean on_same_msn (PATH $file_base)
  • PATH $file_base: The path to the imported site
pre_import_tests (line 143)

Do some tests, to make sure we're happy to continue importing.

  • return: Error/warning UI (NULL: no error/warning)
?tempcode pre_import_tests (object The $db, string $table_prefix, PATH $file_base)
  • object The $db: DB connection to import from
  • string $table_prefix: The table prefix the target prefix is using
  • PATH $file_base: The base directory we are importing from

Documentation generated on Sun, 02 Jan 2011 23:20:27 +0000 by phpDocumentor 1.4.3