| | 1005 | __END__ |
| | 1006 | |
| | 1007 | =head1 NAME |
| | 1008 | |
| | 1009 | MT::Core - Core component for Movable Type functionality. |
| | 1010 | |
| | 1011 | =head1 METHODS |
| | 1012 | |
| | 1013 | =head2 MT::Core::trans($phrase) |
| | 1014 | |
| | 1015 | Stub method that returns the phrase it is given. |
| | 1016 | |
| | 1017 | =head2 MT::Core->name() |
| | 1018 | |
| | 1019 | Returns a string identifying this component. |
| | 1020 | |
| | 1021 | =head2 MT::Core->id() |
| | 1022 | |
| | 1023 | Returns the identifier for this component. |
| | 1024 | |
| | 1025 | =head2 MT::Core::load_junk_filters() |
| | 1026 | |
| | 1027 | Routine that returns the core junk filter registry elements (these |
| | 1028 | live in the L<MT::JunkFilter> package). |
| | 1029 | |
| | 1030 | =head2 MT::Core::load_core_tasks() |
| | 1031 | |
| | 1032 | Routine that returns the core L<MT::TaskMgr> registry elements. |
| | 1033 | |
| | 1034 | =head2 MT::Core->remove_temporary_files() |
| | 1035 | |
| | 1036 | Utility method for removing any temporary files that MT generates. |
| | 1037 | |
| | 1038 | =head2 MT::Core->remove_expired_sessions() |
| | 1039 | |
| | 1040 | Utility method for clearing expired MT user session records. |
| | 1041 | |
| | 1042 | =head2 MT::Core->remove_expired_search_caches() |
| | 1043 | |
| | 1044 | Utility method for removing expired search cache records. |
| | 1045 | |
| | 1046 | =head2 MT::Core::load_default_templates() |
| | 1047 | |
| | 1048 | Routine that returns the default template set registry elements. |
| | 1049 | |
| | 1050 | =head2 MT::Core::load_captcha_providers() |
| | 1051 | |
| | 1052 | Routine that returns the CAPTCHA provider registry elements. |
| | 1053 | |
| | 1054 | =head2 MT::Core::load_core_commenter_auth() |
| | 1055 | |
| | 1056 | Routine that returns the core registry elements for commenter |
| | 1057 | authentication methods. |
| | 1058 | |
| | 1059 | =head2 MT::Core::load_core_tags() |
| | 1060 | |
| | 1061 | Routine that returns the core registry elements for the MT |
| | 1062 | template tags are enabled for the entire system (excludes |
| | 1063 | application-specific tags). |
| | 1064 | |
| | 1065 | =head2 MT::Core::load_upgrade_fns() |
| | 1066 | |
| | 1067 | Routine that returns the core registry elements for the MT |
| | 1068 | schema upgrade framework. |
| | 1069 | |
| | 1070 | =head2 MT::Core::load_backup_instructions |
| | 1071 | |
| | 1072 | Routine that returns the core registry elements for the MT |
| | 1073 | Backup/Restore framework. |
| | 1074 | |
| | 1075 | =head2 MT::Core->l10n_class |
| | 1076 | |
| | 1077 | Returns the localization package for the core component. |
| | 1078 | |
| | 1079 | =head2 $core->init_registry() |
| | 1080 | |
| | 1081 | =head2 MT::Core::load_archive_types() |
| | 1082 | |
| | 1083 | Routine that returns the core registry elements for the |
| | 1084 | publishable archive types. See L<MT::ArchiveType>. |
| | 1085 | |
| | 1086 | =head2 MT::Core::PerformanceLoggingPath |
| | 1087 | |
| | 1088 | A L<MT::ConfigMgr> get/set method for the C<PerformanceLoggingPath> |
| | 1089 | configuration setting. If the user has not designated a path, this |
| | 1090 | will return a default location, which is programatically determined. |
| | 1091 | |
| | 1092 | =head2 MT::Core::ProcessMemoryCommand |
| | 1093 | |
| | 1094 | A L<MT::ConfigMgr> get/set method for the C<ProcessMemoryCommand> |
| | 1095 | configuration setting. If the user has not assigned this themselves, |
| | 1096 | it will return a default command, determined by the operating system |
| | 1097 | Movable Type is running on. |
| | 1098 | |
| | 1099 | =head2 MT::Core::SecretToken |
| | 1100 | |
| | 1101 | A L<MT::ConfigMgr> get/set method for the C<SecretToken> |
| | 1102 | configuration setting. If the user has not assigned this themselves, |
| | 1103 | it will return a random token value, and save it to the database for |
| | 1104 | future use. |
| | 1105 | |
| | 1106 | =head2 MT::Core::DefaultUserTagDelimiter |
| | 1107 | |
| | 1108 | A L<MT::ConfigMgr> get/set method for the C<DefaultUserTagDelimiter> |
| | 1109 | configuration setting. Translates the keyword values 'comma' and |
| | 1110 | 'space' to the ASCII code for those characters. |
| | 1111 | |
| | 1112 | =head2 MT::Core::NewUserAutoProvisioning |
| | 1113 | |
| | 1114 | A L<MT::ConfigMgr> get/set method for the C<NewUserAutoProvisioning> |
| | 1115 | configuration setting. Even if the user has enabled this setting, |
| | 1116 | it will force a value of '0' unless the C<DefaultSiteRoot> and |
| | 1117 | C<DefaultSiteURL> configuration settings are also assigned. |
| | 1118 | |
| | 1119 | =head2 MT::Core::UserSessionCookieName |
| | 1120 | |
| | 1121 | A L<MT::ConfigMgr> get/set method for the C<UserSessionCookieName> |
| | 1122 | configuration setting. If the user has not specifically assigned |
| | 1123 | this setting, a default value is returned, affected by the |
| | 1124 | C<SingleCommunity> setting. If C<SingleCommunity> is enabled, it |
| | 1125 | returns a cookie name that is the same for all blogs. If it is |
| | 1126 | off, it returns a cookie name that is blog-specific (contains the |
| | 1127 | blog id in the cookie name). |
| | 1128 | |
| | 1129 | =head2 UserSessionCookiePath |
| | 1130 | |
| | 1131 | A L<MT::ConfigMgr> get/set method for the C<UserSessionCookiePath> |
| | 1132 | configuration setting. If the user has not specifically assigned |
| | 1133 | this setting, a default value is returned, affected by the |
| | 1134 | C<SingleCommunity> setting. If C<SingleCommunity> is enabled, it |
| | 1135 | returns a path that is the same for all blogs ('/'). If it is |
| | 1136 | off, it returns a value that will yield the blog's relative |
| | 1137 | URL path. |
| | 1138 | |
| | 1139 | =head1 LICENSE |
| | 1140 | |
| | 1141 | The license that applies is the one you agreed to when downloading |
| | 1142 | Movable Type. |
| | 1143 | |
| | 1144 | =head1 AUTHOR & COPYRIGHT |
| | 1145 | |
| | 1146 | Except where otherwise noted, MT is Copyright 2001-2008 Six Apart. |
| | 1147 | All rights reserved. |
| | 1148 | |
| | 1149 | =cut |