Completed
Branch master (7ff82b)
by
unknown
01:54
created
development/factory/admin_page/_model/AdminPageFramework_ImportOptions.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -89,6 +89,11 @@
 block discarded – undo
89 89
         return $vData;
90 90
         
91 91
     }
92
+
93
+    /**
94
+     * @param string $vData
95
+     * @param string $sFormatType
96
+     */
92 97
     public function formatImportData( &$vData, $sFormatType=null ) {
93 98
         
94 99
         $sFormatType = isset( $sFormatType ) ? $sFormatType : $this->getFormatType();
Please login to merge, or discard this patch.
admin_page/_model/delegate/AdminPageFramework_Model__FormEmailHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Sets up properties.
27 27
      * @since       3.6.3
28
+     * @param AdminPageFramework_Model_Form $oFactory
28 29
      */
29 30
     public function __construct( $oFactory ) {
30 31
        
Please login to merge, or discard this patch.
admin_page/_model/delegate/AdminPageFramework_Model__FormSubmission.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Sets up hooks and properties.
28 28
      * @since       3.6.3
29
+     * @param AdminPageFramework_Model_Form $oFactory
29 30
      */
30 31
     public function __construct( $oFactory, $aSavedData, $aArguments, $aSectionsets, $aFieldsets ) {
31 32
        
@@ -250,6 +251,9 @@  discard block
 block discarded – undo
250 251
          * Do the 'submit_...' actions.
251 252
          * 
252 253
          * @internal
254
+         * @param null|string $_sSubmitSectionID
255
+         * @param null|string $_sPressedFieldID
256
+         * @param null|string $_sPressedInputID
253 257
          * @return      void
254 258
          * @since       3.5.3
255 259
          * @since       3.6.3       Moved from `AdminPageFramework_Validation`.
@@ -296,6 +300,8 @@  discard block
 block discarded – undo
296 300
          * Do the 'submit_after_...' actions.
297 301
          * 
298 302
          * @internal
303
+         * @param null|string $_sSubmitSectionID
304
+         * @param null|string $_sPressedFieldID
299 305
          * @return      void
300 306
          * @since       3.5.3
301 307
          * @since       3.6.3       Moved from `AdminPageFramework_Validation`.
Please login to merge, or discard this patch.
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
         // Save the data.
139 139
         $_bUpdated = false;
140
-        if ( ! $this->oFactory->oProp->_bDisableSavingOptions ) {  
140
+        if ( ! $this->oFactory->oProp->_bDisableSavingOptions ) {
141 141
             $_bUpdated = $this->oFactory->oProp->updateOption( $_aInputs );
142 142
         }
143 143
 
@@ -180,14 +180,15 @@  discard block
 block discarded – undo
180 180
                     $_POST[ 'admin_page_framework_start' ], // indicates the framework form is started
181 181
                     $_POST[ '_wp_http_referer' ]
182 182
                 ) 
183
-            ) {     
183
+            ) {
184 184
                 return false;
185 185
             }
186 186
             
187 187
             // Referrer
188 188
             $_sRequestURI   = remove_query_arg( array( 'settings-updated', 'confirmation', 'field_errors' ), wp_unslash( $_SERVER[ 'REQUEST_URI' ] ) );
189 189
             $_sRefererURI   = remove_query_arg( array( 'settings-updated', 'confirmation', 'field_errors' ), $_POST[ '_wp_http_referer' ] );
190
-            if ( $_sRequestURI != $_sRefererURI ) { // see the function definition of wp_referer_field() in functions.php.
190
+            if ( $_sRequestURI != $_sRefererURI ) {
191
+// see the function definition of wp_referer_field() in functions.php.
191 192
                 return false;
192 193
             }
193 194
             
Please login to merge, or discard this patch.
_model/delegate/AdminPageFramework_Model__FormSubmission_Base.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -79,6 +79,7 @@
 block discarded – undo
79 79
      * @since       3.5.3
80 80
      * @since       3.6.3       Moved from `AdminPageFramework_Form_Model_Validation_Option`.
81 81
      * @internal
82
+     * @param boolean $bIsInputEmtpy
82 83
      * @return      void
83 84
      * @remark      Accessed from some of the parent/child classes.
84 85
      */
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @return      null|string     Returns `null` if no value is found and the associated link url if found. 
47 47
      * Otherwise, the found value.
48 48
      */ 
49
-    protected function _getPressedSubmitButtonData( array $aPostElements, $sTargetKey='field_id' ) {    
49
+    protected function _getPressedSubmitButtonData( array $aPostElements, $sTargetKey='field_id' ) {
50 50
 
51 51
         foreach( $aPostElements as $_sInputID => $_aSubElements ) {
52 52
             
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     protected function _setSettingNoticeAfterValidation( $bIsInputEmtpy ) {
86 86
      
87
-        if ( $this->oFactory->hasSettingNotice() ) {     
87
+        if ( $this->oFactory->hasSettingNotice() ) {
88 88
             return;
89 89
         }
90 90
         $this->oFactory->setSettingNotice(  
Please login to merge, or discard this patch.
factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Sets up properties.
30 30
      * @since       3.6.3
31
+     * @param AdminPageFramework_View_Page $oFactory
31 32
      */
32 33
     public function __construct( $oFactory, $sPageSlug, $sTabSlug ) {
33 34
        
Please login to merge, or discard this patch.
admin_page/_view/AdminPageFramework_View__PageRenderer__PageHeadingTabs.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
          * @since       3.3.1       Moved from `AdminPageFramework_Page`.
61 61
          * @since       3.5.3       Deprecated the `$aOutput` parameter.
62 62
          * @since       3.6.3       Moved from `AdminPageFramework_Page_View`. Changed the name from `_getPageHeadingTabs()`.
63
+         * @param string $sTag
63 64
          * @return      string      the output of page heading tabs.
64 65
          */
65 66
         private function _getOutput( $aPage, $sTag ) {
@@ -100,6 +101,7 @@  discard block
 block discarded – undo
100 101
              * @internal
101 102
              * @since       3.5.3
102 103
              * @since       3.6.3       Moved from `AdminPageFramework_Page_View`.
104
+             * @param string $sTag
103 105
              * @return      string      the HTML page heading tab navigation bar output.
104 106
              */
105 107
             private function _getPageHeadingtabNavigationBar( array $aPages, $sTag, $sCurrentPageSlug ) {
Please login to merge, or discard this patch.
admin_page/_view/AdminPageFramework_View__PageRenderer__ScreenIcon.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
         /**
50 50
          * @since       3.6.3
51
-         * @return      boolean
51
+         * @return      boolean|null
52 52
          */
53 53
         private function _isScreenIconVisible() {
54 54
             
Please login to merge, or discard this patch.
development/factory/widget/AdminPageFramework_Widget_Factory.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * Sets up internal properties.
24 24
      * 
25 25
      * @since       3.2.0
26
+     * @param AdminPageFramework_Widget_Model $oCaller
26 27
      * @return      void
27 28
      */
28 29
 	public function __construct( $oCaller, $sWidgetTitle, array $aArguments=array() ) {
Please login to merge, or discard this patch.
development/factory/admin_page/AdminPageFramework.php 2 patches
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param       string                  $sCapability    (optional) sets the overall access level to the admin pages created by the framework. The used capabilities are listed <a href="http://codex.wordpress.org/Roles_and_Capabilities">here</a>. The capability can be set per page, tab, setting section, setting field. Default: `manage_options`
57 57
      * @param       string                  $sTextDomain    (optional) the <a href="http://codex.wordpress.org/I18n_for_WordPress_Developers#Text_Domains" target="_blank">text domain</a> used for the framework's system messages. Default: admin-page-framework.
58 58
      */
59
-    public function __construct( $isOptionKey=null, $sCallerPath=null, $sCapability='manage_options', $sTextDomain='admin-page-framework' ){
59
+    public function __construct( $isOptionKey=null, $sCallerPath=null, $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
60 60
                         
61 61
         if ( ! $this->_isInstantiatable() ) {
62 62
             return;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * @since       2.0.0
46 46
      * @see         http://codex.wordpress.org/Roles_and_Capabilities
47 47
      * @see         http://codex.wordpress.org/I18n_for_WordPress_Developers#Text_Domains
48
-     * @param       array|integer|string    $aisOptionKey    (optional) specifies the option key name to store in the options table. If this is not set, the instantiated class name will be used as default.
48
+     * @param       array|integer|string    $isOptionKey    (optional) specifies the option key name to store in the options table. If this is not set, the instantiated class name will be used as default.
49 49
      * [3.5.9+] If an integer is given, a transient will be used. If an array of option key arguments is given, the argument values will be set to the framework properties.
50 50
      * - type - either `options_table` or `transient`.
51 51
      * - key - the option key or the transient key
@@ -84,6 +84,7 @@  discard block
 block discarded – undo
84 84
         /**
85 85
          * Returns the script caller path.
86 86
          * @remark      It is important to find the caller script path here when separating the library into multiple files.
87
+         * @param string|null $sCallerPath
87 88
          * @return      null|string
88 89
          * @since       3.8.2
89 90
          */
Please login to merge, or discard this patch.