  |
Отправлено: 19 марта 2017 — 09:56
|

технарь
Профессионал
Сообщений: 1830
Регистрация: 12.2011

|
DbPackages-sqlite.php - This file contains functions specifically designed to be utilized by packages. This file is used for SQLite databases.
dbpackages_init', 'Loads the numerous functions in this file into $smcFunc if they aren\'t already there.
smf_db_add_column', 'Adds a column to a table.
smf_db_add_index', 'Adds an index to the specified table.
smf_db_alter_table', 'Emulates the "ALTER TABLE" functionality for SQLite 2.x, which doesn\'t include this.
smf_db_calculate_type', 'Determines the correct column type and size based on the given parameters.
smf_db_change_column', 'Changes a column.
smf_db_create_table', 'Creates a table with the specified column(s), index(es), etc.
smf_db_drop_table', 'Drops the specified table.
smf_db_list_columns', 'Returns information about all the columns in a table.
smf_db_list_indexes', 'Returns information about the indexes in a table.
smf_db_remove_column', 'Drops the specified column from the specified table.
smf_db_remove_index', 'Removes the specified index.
smf_db_table_structure', 'Gets and returns information about the structure of the specified table. |
|
|
  |
Отправлено: 19 марта 2017 — 10:05
|

технарь
Профессионал
Сообщений: 1830
Регистрация: 12.2011

|
Display.php - This is perhaps the most important and probably most accessed files in all of SMF. This file controls topic, message, and attachment display.
approved_attach_sort', 'A function for sorting out attachments and putting unapproved attachments before approved ones in an array.
Display', 'This function loads the posts in a topic up so they can be displayed.
Download', 'This function downloads an attachment or avatar, and increments the downloads.
loadAttachmentContext', 'This function loads an attachment\'s contextual data including, most importantly, its size if it is an image.
prepareDisplayContext', 'This function actually gets and prepares the message context.
QuickInTopicModeration', 'This handles the in-topic quick moderation stuff. |
|
|
|