Completed
Branch master (fd2290)
by
unknown
06:38
created
form/_view/sectionset/AdminPageFramework_Form_View___FieldsetTableRow.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         $_aParameters = func_get_args() + array( 
35 35
             $this->aFieldset, 
36
-            $this->aSavedData,    // passed by reference. @todo: examine why it needs to be passed by reference.
36
+            $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference.
37 37
             $this->aFieldErrors, 
38 38
             $this->aFieldTypeDefinitions, 
39 39
             $this->aCallbacks, // field output element callables.        
@@ -61,14 +61,14 @@  discard block
 block discarded – undo
61 61
         
62 62
         $aFieldset = $this->aFieldset;
63 63
 
64
-        if ( ! $this->isNormalPlacement( $aFieldset ) ) {
64
+        if ( !$this->isNormalPlacement( $aFieldset ) ) {
65 65
             return '';
66 66
         }
67 67
 
68
-        $_oFieldrowAttribute   = new AdminPageFramework_Form_View___Attribute_Fieldrow( 
68
+        $_oFieldrowAttribute = new AdminPageFramework_Form_View___Attribute_Fieldrow( 
69 69
             $aFieldset,
70 70
             array( 
71
-                'id'        => 'fieldrow-' . $aFieldset[ 'tag_id' ],
71
+                'id'        => 'fieldrow-'.$aFieldset[ 'tag_id' ],
72 72
                 'valign'    => 'top',
73 73
                 'class'     => 'admin-page-framework-fieldrow',
74 74
             )                
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         return $this->_getFieldByContainer( 
78 78
             $aFieldset, 
79 79
             array(
80
-                'open_container'    => "<tr " . $_oFieldrowAttribute->get() . ">",
80
+                'open_container'    => "<tr ".$_oFieldrowAttribute->get().">",
81 81
                 'close_container'   => "</tr>",
82 82
                 'open_title'        => "<th>",
83 83
                 'close_title'       => "</th>",
@@ -126,13 +126,13 @@  discard block
 block discarded – undo
126 126
                 $this->aCallbacks,
127 127
                 $this->oMsg
128 128
             );
129
-            $_aOutput   = array();
129
+            $_aOutput = array();
130 130
             if ( $aFieldset[ 'show_title_column' ] ) {
131
-                $_aOutput[] = $aOpenCloseTags[ 'open_title' ]
131
+                $_aOutput[ ] = $aOpenCloseTags[ 'open_title' ]
132 132
                         . $_oFieldTitle->get()
133 133
                     . $aOpenCloseTags[ 'close_title' ];
134 134
             }
135
-            $_aOutput[] = $aOpenCloseTags[ 'open_main' ]
135
+            $_aOutput[ ] = $aOpenCloseTags[ 'open_main' ]
136 136
                     // . call_user_func_array( $hfCallback, array( $aFieldset ) )
137 137
                     . $this->getFieldsetOutput( $aFieldset )
138 138
                 . $aOpenCloseTags[ 'close_main' ];
Please login to merge, or discard this patch.
factory/_common/utility/base_utility/AdminPageFramework_Utility.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
      * @param       callable            $oCallable
31 31
      * @param       string|array        $asParameters       Parameters to pass to the callback function.
32 32
      */
33
-    public function callBack( $oCallable, $asParameters=array() ) {
34
-        $_aParameters   = self::getAsArray( 
33
+    public function callBack( $oCallable, $asParameters = array() ) {
34
+        $_aParameters = self::getAsArray( 
35 35
             $asParameters, 
36 36
             true // preserve empty
37 37
         );
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * @since       3.6.3
68 68
      * @return      string      The captured output buffer.
69 69
      */
70
-    static public function getOutputBuffer( $oCallable, array $aParameters=array() ) {
70
+    static public function getOutputBuffer( $oCallable, array $aParameters = array() ) {
71 71
         
72 72
         ob_start(); 
73 73
         echo call_user_func_array( $oCallable, $aParameters );
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         
89 89
         $_iCount     = count( get_object_vars( $oInstance ) );
90 90
         $_sClassName = get_class( $oInstance );
91
-        return '(object) ' . $_sClassName . ': ' . $_iCount . ' properties.';
91
+        return '(object) '.$_sClassName.': '.$_iCount.' properties.';
92 92
         
93 93
     }
94 94
                    
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @param       boolean|integer|double|string|array|object|resource|NULL        $mTrue      The value to return when the first parameter value yields false.
106 106
      * @return      mixed
107 107
      */
108
-    static public function getAOrB( $mValue, $mTrue=null, $mFalse=null ) {
108
+    static public function getAOrB( $mValue, $mTrue = null, $mFalse = null ) {
109 109
         return $mValue ? $mTrue : $mFalse;
110 110
     }    
111 111
     
Please login to merge, or discard this patch.
development/factory/_common/utility/AdminPageFramework_FrameworkUtility.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
             return;
33 33
         }
34 34
 
35
-        foreach( ( array ) $GLOBALS[ '_apf_sub_menus_to_sort' ] as $_sIndex => $_sMenuSlug ) {
36
-            if ( ! isset( $GLOBALS[ 'submenu' ][ $_sMenuSlug ] ) ) {
35
+        foreach ( ( array ) $GLOBALS[ '_apf_sub_menus_to_sort' ] as $_sIndex => $_sMenuSlug ) {
36
+            if ( !isset( $GLOBALS[ 'submenu' ][ $_sMenuSlug ] ) ) {
37 37
                 continue;
38 38
             }       
39 39
             ksort( $GLOBALS[ 'submenu' ][ $_sMenuSlug ] );
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @param       boolean     $bTrimDevVer           Whether the `.dev` suffix should be removed or not.
59 59
      * @return      string
60 60
      */
61
-    static public function getFrameworkVersion( $bTrimDevVer=false ) {
61
+    static public function getFrameworkVersion( $bTrimDevVer = false ) {
62 62
         $_sVersion = AdminPageFramework_Registry::getVersion();
63 63
         return $bTrimDevVer
64 64
             ? self::getSuffixRemoved( $_sVersion, '.dev' )
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @return      string
87 87
      */
88 88
     static public function getFrameworkNameVersion() {
89
-        return self::getFrameworkName() . ' ' . self::getFrameworkVersion();
89
+        return self::getFrameworkName().' '.self::getFrameworkVersion();
90 90
     }
91 91
         
92 92
 }
Please login to merge, or discard this patch.