Permalink
Browse files

Built 3.8.14b03.

  • Loading branch information...
michaeluno committed Jan 13, 2017
1 parent c76f4cc commit cf6d28e84667cc54ab34605d3af46030c2ea5922
Showing with 382 additions and 350 deletions.
  1. +2 −2 admin-page-framework-loader.php
  2. +2 −2 development/admin-page-framework.php
  3. +2 −2 library/apf/admin-page-framework.php
  4. +23 −16 library/apf/factory/_common/_abstract/AdminPageFramework_Factory.php
  5. +2 −5 library/apf/factory/_common/_abstract/_controller/AdminPageFramework_HelpPane_Base.php
  6. +1 −1 library/apf/factory/_common/_abstract/_controller/AdminPageFramework_Link_Base.php
  7. +3 −3 library/apf/factory/_common/_abstract/_controller/AdminPageFramework_Resource_Base.php
  8. +1 −1 library/apf/factory/_common/_abstract/_model/AdminPageFramework_Factory_Model___Meta_Base.php
  9. +1 −1 library/apf/factory/_common/_abstract/_model/AdminPageFramework_Format_Base.php
  10. +1 −1 library/apf/factory/_common/_abstract/_model/AdminPageFramework_Message.php
  11. +17 −5 library/apf/factory/_common/_abstract/_model/AdminPageFramework_Property_Base.php
  12. +1 −1 library/apf/factory/_common/_abstract/_view/AdminPageFramework_CSS.php
  13. +2 −2 library/apf/factory/_common/_abstract/_view/AdminPageFramework_Factory_View__SettingNotice.php
  14. +1 −1 library/apf/factory/_common/_abstract/_view/AdminPageFramework_Factory___Script_Base.php
  15. +1 −1 library/apf/factory/_common/_abstract/_view/AdminPageFramework_PageLoadInfo_Base.php
  16. +1 −1 library/apf/factory/_common/_abstract/_view/AdminPageFramework_TabNavigationBar.php
  17. +5 −5 library/apf/factory/_common/form/AdminPageFramework_Form.php
  18. +1 −1 library/apf/factory/_common/form/AdminPageFramework_Form_Meta.php
  19. +1 −1 ...y/apf/factory/_common/form/_model/AdminPageFramework_Form_Model___BuiltInFieldTypeDefinitions.php
  20. +1 −1 library/apf/factory/_common/form/_model/AdminPageFramework_Form_Model___DefaultValues.php
  21. +1 −1 library/apf/factory/_common/form/_model/AdminPageFramework_Form_Model___FieldTypeRegistration.php
  22. +1 −1 library/apf/factory/_common/form/_model/AdminPageFramework_Form_Model___FieldTypeResource.php
  23. +1 −1 library/apf/factory/_common/form/_model/AdminPageFramework_Form_Model___LastInput.php
  24. +46 −48 library/apf/factory/_common/form/_model/AdminPageFramework_Form_Model___SetFieldResources.php
  25. +1 −1 ...ctory/_common/form/_model/element_definition/AdminPageFramework_Form_Model___FieldConditioner.php
  26. +1 −1 ...f/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___FormatDynamicElements.php
  27. +1 −1 ...ary/apf/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___FormatFieldsets.php
  28. +1 −1 ...ry/apf/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___FormatSectionset.php
  29. +1 −1 ...y/apf/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___FormatSectionsets.php
  30. +1 −1 ...ctory/_common/form/_model/formatter/AdminPageFramework_Form_Model___Format_CollapsibleSection.php
  31. +1 −1 ...ry/apf/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___Format_EachField.php
  32. +1 −1 .../apf/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___Format_EachSection.php
  33. +1 −1 library/apf/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___Format_Fields.php
  34. +1 −1 ...f/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___Format_FieldsetOutput.php
  35. +1 −1 .../factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___Format_RepeatableField.php
  36. +1 −1 ...common/form/_model/modifier/AdminPageFramework_Form_Model___Modifier_FilterRepeatableElements.php
  37. +1 −1 ...y/apf/factory/_common/form/_model/modifier/AdminPageFramework_Form_Model___Modifier_SortInput.php
  38. +1 −1 library/apf/factory/_common/form/_view/AdminPageFramework_Form_View___DebugInfo.php
  39. +1 −1 library/apf/factory/_common/form/_view/AdminPageFramework_Form_View___Description.php
  40. +1 −1 library/apf/factory/_common/form/_view/AdminPageFramework_Form_View___ToolTip.php
  41. +1 −1 library/apf/factory/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_Field.php
  42. +1 −1 ...ry/apf/factory/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_Fieldrow.php
  43. +1 −1 library/apf/factory/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_Fields.php
  44. +1 −1 ...ry/apf/factory/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_Fieldset.php
  45. +1 −1 ...pf/factory/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_SectionTable.php
  46. +1 −1 ...actory/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_SectionTableBody.php
  47. +1 −1 ...y/_common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_SectionTableContainer.php
  48. +1 −1 ..._common/form/_view/attribute/AdminPageFramework_Form_View___Attribute_SectionsTablesContainer.php
  49. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_CollapsibleSection.php
  50. +1 −1 ...ry/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_CollapsibleSectionIE.php
  51. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Field.php
  52. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_FieldError.php
  53. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Form.php
  54. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Loading.php
  55. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_Section.php
  56. +1 −1 library/apf/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_ToolTip.php
  57. +1 −1 library/apf/factory/_common/form/_view/fieldset/AdminPageFramework_Form_View___Fieldset.php
  58. +1 −1 .../apf/factory/_common/form/_view/fieldset/AdminPageFramework_Form_View___Fieldset___FieldError.php
  59. +1 −1 library/apf/factory/_common/form/_view/generator/AdminPageFramework_Form_View___Generate_Base.php
  60. +1 −1 ...ctory/_common/form/_view/generator/field/AdminPageFramework_Form_View___Generate_FieldAddress.php
  61. +1 −1 ...ctory/_common/form/_view/generator/field/AdminPageFramework_Form_View___Generate_FieldInputID.php
  62. +1 −1 ..._common/form/_view/generator/field/AdminPageFramework_Form_View___Generate_FlatFieldInputName.php
  63. +1 −1 ...tory/_common/form/_view/generator/section/AdminPageFramework_Form_View___Generate_SectionName.php
  64. +1 −1 library/apf/factory/_common/form/_view/resource/AdminPageFramework_Form_View__Resource.php
  65. +1 −1 library/apf/factory/_common/form/_view/resource/AdminPageFramework_Form_View__Resource__Head.php
  66. +1 −1 .../apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_AttributeUpdator.php
  67. +1 −1 .../apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_CheckboxSelector.php
  68. +1 −1 ...pf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_CollapsibleSection.php
  69. +1 −1 library/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_Form.php
  70. +1 −1 ...ary/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_MediaUploader.php
  71. +1 −1 ...ary/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_OptionStorage.php
  72. +1 −1 .../apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_RegisterCallback.php
  73. +1 −1 ...y/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_RepeatableField.php
  74. +1 −1 ...apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_RepeatableSection.php
  75. +1 −1 library/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_SectionTab.php
  76. +1 −1 ...y/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_SortableSection.php
  77. +1 −1 library/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_Utility.php
  78. +1 −1 library/apf/factory/_common/form/_view/script/AdminPageFramework_Form_View___Script_Widget.php
  79. +1 −1 .../factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___CollapsibleSectionTitle.php
  80. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldTitle.php
  81. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRow.php
  82. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php
  83. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Section.php
  84. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___SectionCaption.php
  85. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sections.php
  86. +1 −1 library/apf/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php
  87. +1 −1 ...y/_common/form/_view/sectionset/format/AdminPageFramework_Form_View___Format_SectionsetsByTab.php
  88. +1 −1 library/apf/factory/_common/form/error/AdminPageFramework_Form___FieldError.php
  89. +4 −4 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_color.php
  90. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_default.php
  91. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_export.php
  92. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_file.php
  93. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_hidden.php
  94. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_import.php
  95. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_inline_mixed.php
  96. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_media.php
  97. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_number.php
  98. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_posttype.php
  99. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_radio.php
  100. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_section_title.php
  101. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_size.php
  102. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_system.php
  103. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_taxonomy.php
  104. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_textarea.php
  105. +1 −1 library/apf/factory/_common/form/field_type/AdminPageFramework_WalkerTaxonomyChecklist.php
  106. +1 −1 library/apf/factory/_common/form/input/AdminPageFramework_Input_checkbox.php
  107. +1 −1 library/apf/factory/_common/form/input/AdminPageFramework_Input_radio.php
  108. +1 −1 library/apf/factory/_common/form/input/AdminPageFramework_Input_select.php
  109. +1 −1 library/apf/factory/_common/form/notice/AdminPageFramework_Form___SubmitNotice.php
  110. +1 −1 library/apf/factory/_common/utility/AdminPageFramework_ArrayHandler.php
  111. +1 −1 library/apf/factory/_common/utility/AdminPageFramework_ErrorReporting.php
  112. +1 −1 library/apf/factory/_common/utility/AdminPageFramework_RegisterClasses.php
  113. +1 −1 library/apf/factory/_common/utility/admin_notice/AdminPageFramework_AdminNotice.php
  114. +1 −1 library/apf/factory/_common/utility/admin_notice/AdminPageFramework_AdminNotice___Script.php
  115. +1 −1 library/apf/factory/_common/utility/base_utility/AdminPageFramework_Utility.php
  116. +1 −1 library/apf/factory/_common/utility/debug/AdminPageFramework_Debug.php
  117. +1 −1 library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php
  118. +22 −22 library/apf/factory/admin_page/AdminPageFramework.php
  119. +2 −2 library/apf/factory/admin_page/_controller/AdminPageFramework_HelpPane_admin_page.php
  120. +1 −1 library/apf/factory/admin_page/_controller/AdminPageFramework_Link_admin_page.php
  121. +1 −1 library/apf/factory/admin_page/_controller/AdminPageFramework_Resource_admin_page.php
  122. +1 −1 library/apf/factory/admin_page/_model/AdminPageFramework_ExportOptions.php
  123. +1 −1 library/apf/factory/admin_page/_model/AdminPageFramework_FormEmail.php
  124. +1 −1 library/apf/factory/admin_page/_model/AdminPageFramework_ImportOptions.php
  125. +3 −3 library/apf/factory/admin_page/_model/AdminPageFramework_Property_admin_page.php
  126. +17 −3 library/apf/factory/admin_page/_model/delegate/AdminPageFramework_Model_Menu__RegisterMenu.php
  127. +1 −1 library/apf/factory/admin_page/_model/delegate/AdminPageFramework_Model__FormEmailHandler.php
  128. +2 −2 library/apf/factory/admin_page/_model/delegate/AdminPageFramework_Model__FormRedirectHandler.php
  129. +1 −1 library/apf/factory/admin_page/_model/delegate/AdminPageFramework_Model__FormSubmission.php
  130. +1 −1 ...ctory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator.php
  131. +1 −1 ...del/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__ContactFormConfirm.php
  132. +1 −1 ...min_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Export.php
  133. +1 −1 ...min_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php
  134. +1 −1 ...admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Link.php
  135. +1 −1 ...n_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Redirect.php
  136. +1 −1 ...ge/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__ResetConfirm.php
  137. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_InPageTab.php
  138. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_InPageTabs.php
  139. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_NavigationTab_InPageTab.php
  140. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_PageResource_Script.php
  141. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_PageResource_Style.php
  142. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_SubMenuItem.php
  143. +1 −1 library/apf/factory/admin_page/_model/format/AdminPageFramework_Format_SubMenuLink.php
  144. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_PageLoadInfo_admin_page.php
  145. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__PageMataBoxRenderer.php
  146. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__PageMetaboxEnabler.php
  147. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php
  148. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer__InPageTabs.php
  149. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer__PageHeadingTabs.php
  150. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer__ScreenIcon.php
  151. +1 −1 library/apf/factory/admin_page/_view/AdminPageFramework_View__Resource.php
  152. +1 −1 library/apf/factory/admin_page/form/AdminPageFramework_Form_admin_page.php
  153. +12 −8 library/apf/factory/meta_box/AdminPageFramework_MetaBox.php
  154. +2 −2 library/apf/factory/meta_box/_controller/AdminPageFramework_HelpPane_post_meta_box.php
  155. +1 −1 library/apf/factory/meta_box/_controller/AdminPageFramework_Resource_post_meta_box.php
  156. +1 −1 library/apf/factory/meta_box/_model/AdminPageFramework_MetaBox_Model___PostMeta.php
  157. +1 −1 library/apf/factory/meta_box/_model/AdminPageFramework_Property_post_meta_box.php
  158. +1 −1 library/apf/factory/meta_box/form/AdminPageFramework_Form_post_meta_box.php
  159. +1 −1 library/apf/factory/meta_box/form/_view/AdminPageFramework_Form_View___CSS_meta_box.php
  160. +1 −4 library/apf/factory/network_admin_page/AdminPageFramework_NetworkAdmin.php
  161. +1 −1 ...ary/apf/factory/network_admin_page/_controller/AdminPageFramework_HelpPane_network_admin_page.php
  162. +1 −1 library/apf/factory/network_admin_page/_controller/AdminPageFramework_Link_network_admin_page.php
  163. +1 −1 ...ary/apf/factory/network_admin_page/_controller/AdminPageFramework_Resource_network_admin_page.php
  164. +1 −1 library/apf/factory/network_admin_page/_model/AdminPageFramework_Property_network_admin_page.php
  165. +1 −1 library/apf/factory/network_admin_page/_view/AdminPageFramework_PageLoadInfo_network_admin_page.php
  166. +1 −1 library/apf/factory/network_admin_page/form/AdminPageFramework_Form_network_admin_page.php
  167. +1 −1 library/apf/factory/page_meta_box/AdminPageFramework_MetaBox_Page.php
  168. +5 −5 library/apf/factory/page_meta_box/AdminPageFramework_PageMetaBox.php
  169. +1 −1 library/apf/factory/page_meta_box/_controller/AdminPageFramework_HelpPane_page_meta_box.php
  170. +1 −1 library/apf/factory/page_meta_box/_controller/AdminPageFramework_Resource_page_meta_box.php
  171. +2 −2 library/apf/factory/page_meta_box/_model/AdminPageFramework_Property_page_meta_box.php
  172. +1 −1 library/apf/factory/page_meta_box/form/AdminPageFramework_Form_page_meta_box.php
  173. +3 −5 library/apf/factory/post_type/AdminPageFramework_PostType.php
  174. +1 −1 library/apf/factory/post_type/_controller/AdminPageFramework_HelpPane_post_type.php
  175. +1 −1 library/apf/factory/post_type/_controller/AdminPageFramework_Link_post_type.php
  176. +1 −1 library/apf/factory/post_type/_controller/AdminPageFramework_Resource_post_type.php
  177. +1 −1 library/apf/factory/post_type/_model/AdminPageFramework_PostType_Model__FlushRewriteRules.php
  178. +1 −1 library/apf/factory/post_type/_model/AdminPageFramework_PostType_Model__SubMenuOrder.php
  179. +1 −1 library/apf/factory/post_type/_model/AdminPageFramework_Property_post_type.php
  180. +1 −1 library/apf/factory/post_type/_view/AdminPageFramework_PageLoadInfo_post_type.php
  181. +1 −1 library/apf/factory/post_type/form/AdminPageFramework_Form_post_type.php
  182. +4 −3 library/apf/factory/taxonomy_field/AdminPageFramework_TaxonomyField.php
  183. +1 −1 library/apf/factory/taxonomy_field/_controller/AdminPageFramework_HelpPane_taxonomy_field.php
  184. +1 −1 library/apf/factory/taxonomy_field/_controller/AdminPageFramework_Resource_taxonomy_field.php
  185. +1 −1 library/apf/factory/taxonomy_field/_model/AdminPageFramework_Property_taxonomy_field.php
  186. +1 −1 library/apf/factory/taxonomy_field/form/AdminPageFramework_Form_taxonomy_field.php
  187. +1 −1 library/apf/factory/term_meta/AdminPageFramework_TermMeta.php
  188. +1 −1 library/apf/factory/term_meta/_controller/AdminPageFramework_HelpPane_term_meta.php
  189. +1 −1 library/apf/factory/term_meta/_controller/AdminPageFramework_Resource_term_meta.php
  190. +1 −1 library/apf/factory/term_meta/_model/AdminPageFramework_Property_term_meta.php
  191. +1 −1 library/apf/factory/term_meta/_model/AdminPageFramework_TermMeta_Model___TermMeta.php
  192. +1 −1 library/apf/factory/term_meta/form/AdminPageFramework_Form_term_meta.php
  193. +1 −1 library/apf/factory/term_meta/form/_view/AdminPageFramework_Form_View___CSS_term_meta.php
  194. +7 −3 library/apf/factory/user_meta/AdminPageFramework_UserMeta.php
  195. +1 −1 library/apf/factory/user_meta/_controller/AdminPageFramework_HelpPane_user_meta.php
  196. +1 −1 library/apf/factory/user_meta/_controller/AdminPageFramework_Resource_user_meta.php
  197. +1 −1 library/apf/factory/user_meta/_model/AdminPageFramework_Property_user_meta.php
  198. +1 −1 library/apf/factory/user_meta/_model/AdminPageFramework_UserMeta_Model___UserMeta.php
  199. +1 −1 library/apf/factory/user_meta/form/AdminPageFramework_Form_user_meta.php
  200. +2 −2 library/apf/factory/widget/AdminPageFramework_Widget.php
  201. +2 −2 library/apf/factory/widget/AdminPageFramework_Widget_Factory.php
  202. +1 −1 library/apf/factory/widget/_controller/AdminPageFramework_HelpPane_widget.php
  203. +1 −1 library/apf/factory/widget/_controller/AdminPageFramework_Resource_widget.php
  204. +1 −1 library/apf/factory/widget/_model/AdminPageFramework_Property_widget.php
  205. +1 −1 library/apf/factory/widget/form/AdminPageFramework_Form_widget.php
  206. +1 −1 library/apf/factory/widget/form/_view/AdminPageFramework_Form_View___CSS_widget.php
  207. +1 −1 library/apf/utility/class_tester/AdminPageFramework_ClassTester.php
  208. +1 −1 library/apf/utility/plugin_bootstrap/AdminPageFramework_PluginBootstrap.php
  209. +1 −1 library/apf/utility/pointer_tool_tip/AdminPageFramework_PointerToolTip.php
  210. +1 −1 library/apf/utility/readme_parser/AdminPageFramework_WPReadmeParser.php
  211. +1 −1 library/apf/utility/readme_parser/library/AdminPageFramework_Parsedown.php
  212. +1 −1 library/apf/utility/requirement/AdminPageFramework_Requirement.php
  213. +1 −1 library/apf/utility/toc/AdminPageFramework_TableOfContents.php
  214. +1 −1 library/apf/utility/zip/AdminPageFramework_Zip.php
@@ -6,7 +6,7 @@
* Author: Michael Uno
* Author URI: http://en.michaeluno.jp/
* Requirements: PHP 5.2.4 or above, WordPress 3.3 or above.
- * Version: 3.8.14b02
+ * Version: 3.8.14b03
 */
/**
@@ -16,7 +16,7 @@
*/
class AdminPageFrameworkLoader_Registry_Base {
- const VERSION = '3.8.14b02'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
+ const VERSION = '3.8.14b03'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
const NAME = 'Admin Page Framework - Loader'; // the name is not 'Admin Page Framework' because warning messages gets confusing.
const SHORTNAME = 'Admin Page Framework'; // used for a menu title etc.
const DESCRIPTION = 'Loads Admin Page Framework which facilitates WordPress plugin and theme development.';
@@ -35,11 +35,11 @@
* @download_latest https://github.com/michaeluno/admin-page-framework/archive/master.zip
* @download_stable http://downloads.wordpress.org/plugin/admin-page-framework.latest-stable.zip
* @catchcopy The framework for all WordPress developers.
- * @version 3.8.14b02
+ * @version 3.8.14b03
*/
abstract class AdminPageFramework_Registry_Base {
- const VERSION = '3.8.14b02'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
+ const VERSION = '3.8.14b03'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
const NAME = 'Admin Page Framework';
const DESCRIPTION = 'Facilitates WordPress plugin and theme development.';
const URI = 'http://en.michaeluno.jp/admin-page-framework';
@@ -1,12 +1,12 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
if (!class_exists('AdminPageFramework_Registry', false)):
abstract class AdminPageFramework_Registry_Base {
- const VERSION = '3.8.13';
+ const VERSION = '3.8.14b03';
const NAME = 'Admin Page Framework';
const DESCRIPTION = 'Facilitates WordPress plugin and theme development.';
const URI = 'http://en.michaeluno.jp/admin-page-framework';
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -19,22 +19,21 @@
private $_aSubClassNames = array('oProp' => null, 'oDebug' => 'AdminPageFramework_Debug', 'oUtil' => 'AdminPageFramework_FrameworkUtility', 'oMsg' => 'AdminPageFramework_Message', 'oForm' => null, 'oPageLoadInfo' => null, 'oResource' => null, 'oHelpPane' => null, 'oLink' => null,);
public $aSubClassNames = array();
public function __construct($oProp) {
- foreach ($this->_aSubClassPrefixes as $_sObjectVariableName => $_sPrefix) {
- $this->aSubClassNames[$_sObjectVariableName] = $_sPrefix . $this->_sStructureType;
- }
- $this->aSubClassNames = $this->aSubClassNames + $this->_aSubClassNames;
+ $this->aSubClassNames = $this->___getSubClassNames();
unset($this->oDebug, $this->oUtil, $this->oMsg, $this->oForm, $this->oPageLoadInfo, $this->oResource, $this->oHelpPane, $this->oLink);
$this->oProp = $oProp;
- if ($this->oProp->bIsAdmin && !$this->oProp->bIsAdminAjax) {
- if (did_action('current_screen')) {
- $this->_replyToLoadComponents();
- } else {
- add_action('current_screen', array($this, '_replyToLoadComponents'));
- }
+ if ($this->oProp->bIsAdmin) {
+ $this->oUtil->registerAction('current_screen', array($this, '_replyToLoadComponents'));
}
$this->start();
$this->oUtil->addAndDoAction($this, 'start_' . $this->oProp->sClassName, $this);
}
+ private function ___getSubClassNames() {
+ foreach ($this->_aSubClassPrefixes as $_sObjectVariableName => $_sPrefix) {
+ $this->aSubClassNames[$_sObjectVariableName] = $_sPrefix . $this->_sStructureType;
+ }
+ return $this->aSubClassNames + $this->_aSubClassNames;
+ }
public function _replyToLoadComponents() {
if (!$this->_isInThePage()) {
return;
@@ -49,18 +48,27 @@ public function _replyToLoadComponents() {
$this->oPageLoadInfo = $this->oPageLoadInfo;
}
}
+ protected function _load($aActions = array()) {
+ $aActions = empty($aActions) ? array('load_' . $this->oProp->sClassName,) : $aActions;
+ $this->load();
+ $this->oUtil->addAndDoActions($this, $aActions, $this);
+ }
+ protected function _setUp() {
+ $aActions = array('set_up_' . $this->oProp->sClassName,);
+ $this->setUp();
+ $this->oUtil->addAndDoActions($this, $aActions, $this);
+ }
protected function _isInstantiatable() {
return true;
}
- public function _isInThePage() {
+ protected function _isInThePage() {
return true;
}
public function _replyToDetermineToLoad() {
if (!$this->_isInThePage()) {
return;
}
$this->_setUp();
- $this->oUtil->addAndDoAction($this, "set_up_{$this->oProp->sClassName}", $this);
}
protected function _getFormObject() {
$this->oProp->setFormProperties();
@@ -156,9 +164,6 @@ public function __construct($oProp) {
parent::__construct($oProp);
add_filter('field_types_' . $oProp->sClassName, array($this, '_replyToFilterFieldTypeDefinitions'));
}
- protected function _setUp() {
- $this->setUp();
- }
public function _replyToFieldsetResourceRegistration($aFieldset) {
$aFieldset = $aFieldset + array('help' => null, 'title' => null, 'help_aside' => null,);
if (!$aFieldset['help']) {
@@ -316,6 +321,8 @@ public function start() {
}
public function setUp() {
}
+ public function load() {
+ }
public function isInThePage() {
return $this->_isInThePage();
}
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -24,9 +24,6 @@ protected function _setHelpTab($sID, $sTitle, $aContents, $aSideBarContents = ar
protected function _formatHelpDescription($sHelpDescription) {
return "<div class='contextual-help-description'>" . $sHelpDescription . "</div>";
}
- protected function _isInThePage() {
- return $this->oProp->oCaller->isInThePage();
- }
public function _addHelpText($sHTMLContent, $sHTMLSidebarContent = "") {
$this->oProp->aHelpTabText[] = "<div class='contextual-help-description'>" . $sHTMLContent . "</div>";
$this->oProp->aHelpTabTextSide[] = "<div class='contextual-help-description'>" . $sHTMLSidebarContent . "</div>";
@@ -35,7 +32,7 @@ public function _addHelpTextForFormFields($sFieldTitle, $sHelpText, $sHelpTextSi
$this->_addHelpText("<span class='contextual-help-tab-title'>" . $sFieldTitle . "</span> - " . PHP_EOL . $sHelpText, $sHelpTextSidebar);
}
public function _replyToRegisterHelpTabText() {
- if (!$this->_isInThePage()) {
+ if (!$this->oProp->oCaller->isInThePage()) {
return false;
}
$this->_setHelpTab($this->oProp->sClassName, $this->oProp->sTitle, $this->oProp->aHelpTabText, $this->oProp->aHelpTabTextSide);
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -134,15 +134,15 @@ protected function _printClassSpecificScripts($sIDPrefix) {
}
public function _replyToAddStyle() {
$_oCaller = $this->oProp->oCaller;
- if (!$_oCaller->_isInThePage()) {
+ if (!$_oCaller->isInThePage()) {
return;
}
$this->_printCommonStyles('admin-page-framework-style-common', get_class());
$this->_printClassSpecificStyles($this->_sClassSelector_Style . '-' . $this->oProp->sStructureType);
}
public function _replyToAddScript() {
$_oCaller = $this->oProp->oCaller;
- if (!$_oCaller->_isInThePage()) {
+ if (!$_oCaller->isInThePage()) {
return;
}
$this->_printCommonScripts('admin-page-framework-script-common', get_class());
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -45,7 +45,12 @@
public $aHelpTabTextSide = array();
public $sTitle = '';
public $bShowDebugInfo = true;
+ public $aQuery = array();
public function __construct($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType) {
+ $this->___setProperties($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType);
+ $this->___setGlobals();
+ }
+ private function ___setProperties($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType) {
$this->oCaller = $oCaller;
$this->sCallerPath = $sCallerPath;
$this->sClassName = $sClassName;
@@ -54,12 +59,19 @@ public function __construct($oCaller, $sCallerPath, $sClassName, $sCapability, $
$this->sStructureType = $sStructureType;
$this->sPageNow = $this->getPageNow();
$this->bIsAdmin = is_admin();
- $this->bIsAdminAjax = in_array($this->sPageNow, array('admin-ajax.php'));
+ $this->bIsAdminAjax = 'admin-ajax.php' === $this->sPageNow;
$this->bShowDebugInfo = $this->isDebugMode();
+ $this->aQuery = $this->___getURLQuery();
unset($this->aScriptInfo, $this->aOptions, $this->sScriptType, $this->sClassHash);
- $this->_setGlobals();
}
- private function _setGlobals() {
+ private function ___getURLQuery() {
+ if (!$this->bIsAdminAjax) {
+ return $_GET;
+ }
+ parse_str(parse_url($_SERVER['HTTP_REFERER'], PHP_URL_QUERY), $_aQuery);
+ return $_GET + $_aQuery;
+ }
+ private function ___setGlobals() {
if (!isset($GLOBALS['aAdminPageFramework'])) {
$GLOBALS['aAdminPageFramework'] = array('aFieldFlags' => array());
}
@@ -69,7 +81,7 @@ public function setFormProperties() {
$this->aFormCallbacks = $this->getFormCallbacks();
}
public function getFormArguments() {
- return array('caller_id' => $this->sClassName, 'structure_type' => $this->_sPropertyType, 'action_hook_form_registration' => $this->_sFormRegistrationHook,) + $this->aFormArguments;
+ return array('caller_id' => $this->sClassName, 'structure_type' => $this->_sPropertyType, 'action_hook_form_registration' => $this->bIsAdminAjax ? 'admin_init' : $this->_sFormRegistrationHook,) + $this->aFormArguments;
}
public function getFormCallbacks() {
return array('is_in_the_page' => array($this->oCaller, '_replyToDetermineWhetherToProcessFormRegistration'), 'load_fieldset_resource' => array($this->oCaller, '_replyToFieldsetResourceRegistration'), 'is_fieldset_registration_allowed' => null, 'capability' => array($this->oCaller, '_replyToGetCapabilityForForm'), 'saved_data' => array($this->oCaller, '_replyToGetSavedFormData'), 'section_head_output' => array($this->oCaller, '_replyToGetSectionHeaderOutput'), 'fieldset_output' => array($this->oCaller, '_replyToGetFieldOutput'), 'sectionset_before_output' => array($this->oCaller, '_replyToFormatSectionsetDefinition'), 'fieldset_before_output' => array($this->oCaller, '_replyToFormatFieldsetDefinition'), 'fieldset_after_formatting' => array($this->oCaller, '_replyToModifyFieldsetDefinitionAfterFormatting'), 'fieldsets_before_formatting' => array($this->oCaller, '_replyToModifyFieldsetsDefinitions'), 'is_sectionset_visible' => array($this->oCaller, '_replyToDetermineSectionsetVisibility'), 'is_fieldset_visible' => array($this->oCaller, '_replyToDetermineFieldsetVisibility'), 'secitonsets_before_registration' => array($this->oCaller, '_replyToModifySectionsets'), 'fieldsets_before_registration' => array($this->oCaller, '_replyToModifyFieldsets'), 'handle_form_data' => array($this->oCaller, '_replyToHandleSubmittedFormData'), 'show_debug_info' => array($this->oCaller, '_replyToDetermineWhetherToShowDebugInfo'), 'hfID' => array($this->oCaller, '_replyToGetInputID'), 'hfTagID' => array($this->oCaller, '_replyToGetInputTagIDAttribute'), 'hfName' => array($this->oCaller, '_replyToGetFieldNameAttribute'), 'hfNameFlat' => array($this->oCaller, '_replyToGetFlatFieldName'), 'hfInputName' => array($this->oCaller, '_replyToGetInputNameAttribute'), 'hfInputNameFlat' => array($this->oCaller, '_replyToGetFlatInputName'), 'hfClass' => array($this->oCaller, '_replyToGetInputClassAttribute'), 'hfSectionName' => array($this->oCaller, '_replyToGetSectionName'),) + $this->aFormCallbacks;
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -17,7 +17,7 @@ public function _replyToPrintSettingNotice() {
$this->oFactory->oForm->printSubmitNotices();
}
private function _shouldProceed() {
- if (!$this->oFactory->_isInThePage()) {
+ if (!$this->oFactory->isInThePage()) {
return false;
}
if ($this->hasBeenCalled(__METHOD__)) {
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -1,6 +1,6 @@
<?php
/**
- Admin Page Framework v3.8.13 by Michael Uno
+ Admin Page Framework v3.8.14b03 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
@@ -17,7 +17,7 @@ static public function getFormElementPath($asID) {
static public function getIDSanitized($asID) {
return is_scalar($asID) ? self::sanitizeSlug($asID) : self::getAsArray($asID);
}
- static public function hasNestedFields(array $aFieldset) {
+ static public function hasNestedFields($aFieldset) {
if (!self::hasFieldDefinitionsInContent($aFieldset)) {
return false;
}
@@ -26,7 +26,7 @@ static public function hasNestedFields(array $aFieldset) {
}
return is_array(self::getElement($aFieldset['content'], 0));
}
- static public function hasFieldDefinitionsInContent(array $aFieldset) {
+ static public function hasFieldDefinitionsInContent($aFieldset) {
if (!isset($aFieldset['content'])) {
return false;
}
@@ -35,7 +35,7 @@ static public function hasFieldDefinitionsInContent(array $aFieldset) {
}
return is_array($aFieldset['content']);
}
- static public function hasSubFields(array $aFields, array $aField) {
+ static public function hasSubFields(array $aFields, $aField) {
if (count($aFields) > 1) {
return true;
}
@@ -59,7 +59,7 @@ static public function getTrailingPipeCharacterAppended($sString) {
}
return $sString . '|';
}
- static public function getFieldsetReformattedBySubFieldIndex(array $aFieldset, $iSubFieldIndex, $bHasSubFields, array $aParentFieldset) {
+ static public function getFieldsetReformattedBySubFieldIndex($aFieldset, $iSubFieldIndex, $bHasSubFields, $aParentFieldset) {
$_oCallerForm = $aFieldset['_caller_object'];
$aFieldset['_parent_field_path'] = self::getAOrB($bHasSubFields, $aFieldset['_parent_field_path'] . '|' . $iSubFieldIndex, $aFieldset['_parent_field_path']);
$aFieldset['_parent_tag_id'] = self::getAOrB($bHasSubFields, $aParentFieldset['tag_id'] . '__' . $iSubFieldIndex, $aParentFieldset['tag_id']);
Oops, something went wrong.

0 comments on commit cf6d28e

Please sign in to comment.