Packageindex Classtrees Elementlist

File: vb3/impex/systems/ipb/000.php
vB3 ImpEx Import system - ImpEx.ipb

ipb_000

ImpExFunction
   |
  +-- ImpExDatabase
     |
    +-- ImpExModule
       |
      +-- ipb_000

ipb_000

 

private class ipb_000 extends ImpExModule

ipb_000

AuthorsJerry Hutchings <jerry.hutchings@vbulletin.com>
Version$Revision: 1.7 $
Copyrighthttp://www.vbulletin.com/license.html

 

Methods inherited from ImpExModule

impexmodule, init, restart, check_order, using, resume, restarted, add_module_error, get_class_list

Methods inherited from ImpExDatabase

impexdatabase, create_data_type, add_import_id, add_custom_field, import_pm_text, import_pm, import_buddy_ignore, import_ban_list, import_post, import_user, fetch_user_salt, import_avatar, import_user_group, import_category, import_forum, import_thread, import_moderator, import_style_array, import_user_field_value, add_admin_user, import_rank, import_usergroup, get_vb_userid, get_one_username, get_user_array, get_banned_group, get_imported_group_ids, get_thread_id, get_threads_ids, get_category_ids, get_style_ids, get_done_user_ids, get_user_ids, get_username, get_forum_ids, clear_ban_list, clear_imported_styles, clear_imported_forums, clear_imported_threads, clear_banned_users, clear_imported_users, clear_imported_posts, clear_imported_polls, clear_imported_buddy_list, clear_imported_ignore_list, clear_imported_private_messages, clear_imported_moderators, clear_imported_smilies, clear_imported_user_groups, clear_imported_ranks, clear_imported_usergroups, update_post_parent_ids, associate_user, check_database, import_poll, import_poll_to_thread, import_poll_voters, does_smilie_exists, import_smilie, set_forum_private, import_smilie_image_group, clear_non_admin_users

Methods inherited from ImpExFunction

impexfunction, option2bin, over_ride_test, iif, unhtmlspecialchars, vb_parse_url, vb_file_get_contents, return_style_array, html_2_bb, parse_smilie_callback, all_your_posts_are_belong_to_us

Public Method Summary

void

ipb_000()

Warning: documentation is missing.

Private Method Summary

array

get_ipb_user_details(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$user_start_at, int &$user_per_page)

Returns the userid to user name array
array

get_ipb_css(object databaseobject &$DB_object, string &$database_type, string &$table_prefix)

Returns the cssid to css details array
array

get_ipb_category_details(object databaseobject &$DB_object, string &$database_type, string &$table_prefix)

Returns the category details array
array

get_ipb_forum_details(object databaseobject &$DB_object, string $database_type, string $table_prefix, int $forum_start_at, int $forum_per_page)

Returns the forum details
array

get_imported_ipb_style_ids(object databaseobject &$DB_object)

Returns the styleid to style details array
int

get_ipb_parent_forum_id(object databaseobject &$DB_object, string $database_type, string $table_prefix, int $import_forum_id)

Returns the parent id of a forum
array

get_ipb_thread_details(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$thread_start_at, int &$threads_per_page)

Returns the thread details array
array

get_ipb_posts_details(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$post_start_at, int &$posts_per_page)

Returns the post details array
string

unconvert_size([ string $size, string $text ])

Regex call back
string

ipb_html(string $post)

HTML parser
int

get_ipb_polls_details(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$poll_start_at, int &$poll_per_page)

Returns the IPB poll details
string

get_ipb_poll_question_text(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$message_id)

Returns the poll question text
array

get_ipb_pms(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$pm_start_at, int &$pm_per_page)

Returns the IPB PM details array
array

get_ipb_buddy_ignore_lists(object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$list_start_at, int &$list_per_page)

Returns the IPB poll details
array

get_ipb_moderators_details(object databaseobject $DB_object, string $database_type, string $table_prefix, int $moderators_start_at, int $moderators_per_page)

Returns the IPB moderators details
void

get_ipb_members_list( &$Db_object, &$databasetype, &$tableprefix, &$start, &$per_page)

Warning: documentation is missing.

Fields inherited from ImpExModule

$_restart, $_error

Fields inherited from ImpExDatabase

$_customernumber

Fields inherited from ImpExFunction

$_smilies

Private Field Summary

string

$_version

Class version
string

$_modulestring

Module string
array

$_valid_tables

Valid Database Tables

Public Method Details

ipb_000

public void ipb_000( )

 

Warning: documentation is missing.

Returns void


Private Method Details

get_ipb_user_details

private array get_ipb_user_details( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$user_start_at, int &$user_per_page )

  Returns the userid to user name array

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$user_start_at
Start point
int &$user_per_page
End point
Returns array


get_ipb_css

private array get_ipb_css( object databaseobject &$DB_object, string &$database_type, string &$table_prefix )

  Returns the cssid to css details array

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
Returns array


get_ipb_category_details

private array get_ipb_category_details( object databaseobject &$DB_object, string &$database_type, string &$table_prefix )

  Returns the category details array

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
Returns array


get_ipb_forum_details

private array get_ipb_forum_details( object databaseobject &$DB_object, string $database_type, string $table_prefix, int $forum_start_at, int $forum_per_page )

  Returns the forum details

Parameter
object databaseobject &$DB_object
The database object to run the query against
string $database_type
Table database type
string $table_prefix
The prefix to the table name i.e. 'vb3_'
int $forum_start_at
Start point
int $forum_per_page
End point
Returns array


get_imported_ipb_style_ids

private array get_imported_ipb_style_ids( object databaseobject &$DB_object )

  Returns the styleid to style details array

Parameter
object databaseobject &$DB_object
The database object to run the query against
Returns array


get_ipb_parent_forum_id

private int get_ipb_parent_forum_id( object databaseobject &$DB_object, string $database_type, string $table_prefix, int $import_forum_id )

  Returns the parent id of a forum

Parameter
object databaseobject &$DB_object
The database object to run the query against
string $database_type
Table database type
string $table_prefix
The prefix to the table name i.e. 'vb3_'
int $import_forum_id
The import forum id
Returns int


get_ipb_thread_details

private array get_ipb_thread_details( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$thread_start_at, int &$threads_per_page )

  Returns the thread details array

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$thread_start_at
Start point
int &$threads_per_page
End point
Returns array


get_ipb_posts_details

private array get_ipb_posts_details( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$post_start_at, int &$posts_per_page )

  Returns the post details array

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$post_start_at
Start point
int &$posts_per_page
End point
Returns array


unconvert_size

private string unconvert_size( [ string $size, string $text ] )

  Regex call back

Parameter
string $size = >>""<<
Table database type
string $text = >>""<<
The prefix to the table name i.e. 'vb3_'
Returns string


ipb_html

private string ipb_html( string $post )

  HTML parser

Parameter
string $post
The string to be parsed
Returns string


get_ipb_polls_details

private int get_ipb_polls_details( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$poll_start_at, int &$poll_per_page )

  Returns the IPB poll details

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$poll_start_at
Start point
int &$poll_per_page
End point
Returns int


get_ipb_poll_question_text

private string get_ipb_poll_question_text( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$message_id )

  Returns the poll question text

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$message_id
The poll question text
Returns string


get_ipb_pms

private array get_ipb_pms( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$pm_start_at, int &$pm_per_page )

  Returns the IPB PM details array

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$pm_start_at
Start point
int &$pm_per_page
End point
Returns array


get_ipb_buddy_ignore_lists

private array get_ipb_buddy_ignore_lists( object databaseobject &$DB_object, string &$database_type, string &$table_prefix, int &$list_start_at, int &$list_per_page )

  Returns the IPB poll details

Parameter
object databaseobject &$DB_object
The database object to run the query against
string &$database_type
Table database type
string &$table_prefix
The prefix to the table name i.e. 'vb3_'
int &$list_start_at
Start point
int &$list_per_page
End point
Returns array


get_ipb_moderators_details

private array get_ipb_moderators_details( object databaseobject $DB_object, string $database_type, string $table_prefix, int $moderators_start_at, int $moderators_per_page )

  Returns the IPB moderators details

Parameter
object databaseobject $DB_object
The database object to run the query against
string $database_type
Table database type
string $table_prefix
The prefix to the table name i.e. 'vb3_'
int $moderators_start_at
Start point
int $moderators_per_page
End point
Returns array


get_ipb_members_list

private void get_ipb_members_list( &$Db_object, &$databasetype, &$tableprefix, &$start, &$per_page )

 

Warning: documentation is missing.

Parameter
&$Db_object
Warning: documentation is missing.
&$databasetype
Warning: documentation is missing.
&$tableprefix
Warning: documentation is missing.
&$start
Warning: documentation is missing.
&$per_page
Warning: documentation is missing.
Returns void


Private Field Details

$_version

private string $_version

>>"0.0.1"<<

Class version
This will allow the checking for interoprability of class version in diffrentversions of ImpEx


$_modulestring

private string $_modulestring

>>'ImpEx IPB-Specific API'<<

Module string
Class string for phpUnit header


$_valid_tables

private array $_valid_tables

>>array ( 'admin_logs', 'admin_sessions', 'badwords', 'cache_store', 'calendar_events', 'categories', 'contacts', 'css', 'email_logs', 'emoticons', 'faq', 'forum_perms', 'forum_tracker', 'forums', 'groups', 'languages', 'macro', 'macro_name', 'member_extra', 'members', 'messages', 'moderator_logs', 'moderators', 'pfields_content', 'pfields_data', 'polls', 'posts', 'reg_antispam', 'search_results', 'sessions', 'skin_templates', 'skins', 'spider_logs', 'stats', 'subscription_currency', 'subscription_extra', 'subscription_logs', 'subscription_methods', 'subscription_trans', 'subscriptions', 'templates', 'titles', 'tmpl_names', 'topic_mmod', 'topics', 'tracker', 'validating', 'voters', 'warn_logs' )<<

Valid Database Tables



Packageindex Classtrees Elementlist
PHPDoc 1.0beta