Completed
Branch master (0a34ef)
by
unknown
13:11
created
form/_view/script/AdminPageFramework_Form_View___Script_MediaUploader.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $_oMsg      = $_aParams[ 0 ];                
58 58
         
59 59
         // means the WordPress version is 3.4.x or below
60
-        if ( ! function_exists( 'wp_enqueue_media' ) ) { 
60
+        if ( !function_exists( 'wp_enqueue_media' ) ) { 
61 61
             return ""; 
62 62
         } 
63 63
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $_oMsg      = $_aParams[ 0 ];                
58 58
         
59 59
         // means the WordPress version is 3.4.x or below
60
-        if ( ! function_exists( 'wp_enqueue_media' ) ) { 
60
+        if ( ! function_exists( 'wp_enqueue_media' ) ) {
61 61
             return ""; 
62 62
         } 
63 63
 
Please login to merge, or discard this patch.
generator/field/AdminPageFramework_Form_View___Generate_FieldInputID.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @return      string       The generated string value.
50 50
      */
51 51
     public function get() {
52
-        return $this->_getFiltered( $this->_getBaseFieldTagID() . '__' . $this->isIndex );
52
+        return $this->_getFiltered( $this->_getBaseFieldTagID().'__'.$this->isIndex );
53 53
     }
54 54
            
55 55
 }
Please login to merge, or discard this patch.
_view/generator/field/AdminPageFramework_Form_View___Generate_FieldName.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
         return $_sResult;
27 27
     }
28 28
         
29
-    public function getModel()     {
30
-        return $this->get() . '[' . $this->sIndexMark . ']';
29
+    public function getModel() {
30
+        return $this->get().'['.$this->sIndexMark.']';
31 31
     }
32 32
         
33 33
         /**
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
          */
36 36
         protected function _getFieldName() {
37 37
                 
38
-            $_aFieldPath   = $this->aArguments[ '_field_path_array' ];
39
-            if ( ! $this->_isSectionSet() ) {
38
+            $_aFieldPath = $this->aArguments[ '_field_path_array' ];
39
+            if ( !$this->_isSectionSet() ) {
40 40
                 return $this->_getInputNameConstructed( $_aFieldPath );
41 41
             }
42 42
             
43 43
             $_aSectionPath = $this->aArguments[ '_section_path_array' ];
44 44
             if ( $this->_isSectionSet() && isset( $this->aArguments[ '_section_index' ] ) ) {
45
-                $_aSectionPath[] = $this->aArguments[ '_section_index' ];
45
+                $_aSectionPath[ ] = $this->aArguments[ '_section_index' ];
46 46
             }
47 47
             $_sFieldName = $this->_getInputNameConstructed( 
48 48
                 array_merge( $_aSectionPath, $_aFieldPath )
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 : "";
61 61
             $_sFieldName = $this->getAOrB(
62 62
                 $this->_isSectionSet(),
63
-                $this->aArguments[ 'section_id' ] . $_sSectionIndex . "[" . $this->aArguments[ 'field_id' ] . "]",
63
+                $this->aArguments[ 'section_id' ].$_sSectionIndex."[".$this->aArguments[ 'field_id' ]."]",
64 64
                 $this->aArguments[ 'field_id' ]
65 65
             );
66 66
             return $_sFieldName;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return $this->_getFiltered( $this->_getSectionName() );
26 26
     }
27 27
         
28
-    public function getModel()     {
28
+    public function getModel() {
29 29
         return $this->get() . '[' . $this->sIndexMark . ']';
30 30
     }
31 31
         
Please login to merge, or discard this patch.
generator/field/AdminPageFramework_Form_View___Generate_FieldTagID.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             
60 60
         }
61 61
         
62
-       //  @deprecated
62
+        //  @deprecated
63 63
         // protected function _getBaseFieldTagID() {
64 64
 
65 65
             // $_sSectionIndex = isset( $this->aArguments[ '_section_index' ] )
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * @return      string
41 41
      */
42 42
     public function getModel() {
43
-        return $this->get() . '__' . $this->sIndexMark;
43
+        return $this->get().'__'.$this->sIndexMark;
44 44
     }
45 45
         /**
46 46
          * @since       3.6.0
@@ -49,12 +49,12 @@  discard block
 block discarded – undo
49 49
         protected function _getBaseFieldTagID() {
50 50
 
51 51
             $_sSectionIndex = isset( $this->aArguments[ '_section_index' ] )
52
-                ? '__' . $this->aArguments[ '_section_index' ] 
52
+                ? '__'.$this->aArguments[ '_section_index' ] 
53 53
                 : '';
54 54
             $_sSectionPart = implode( '_', $this->aArguments[ '_section_path_array' ] );
55 55
             $_sFieldPart   = implode( '_', $this->aArguments[ '_field_path_array' ] );
56 56
             return $this->_isSectionSet()
57
-                ? $_sSectionPart . $_sSectionIndex . '_' . $_sFieldPart
57
+                ? $_sSectionPart.$_sSectionIndex.'_'.$_sFieldPart
58 58
                 : $_sFieldPart;
59 59
             
60 60
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * @since       3.6.0       Moved from `AdminPageFramework_FormField`.
31 31
      * @return      string      The generated string value.
32 32
      */
33
-    public function get() {            
33
+    public function get() {
34 34
         return $this->_getFiltered( $this->_getBaseFieldTagID() );
35 35
     }
36 36
     
Please login to merge, or discard this patch.
generator/field/AdminPageFramework_Form_View___Generate_FieldAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * @return      string      The generated field name model.
32 32
      */
33 33
     public function getModel() {
34
-        return $this->get() . '|' . $this->sIndexMark;
34
+        return $this->get().'|'.$this->sIndexMark;
35 35
     }
36 36
         
37 37
         /**
Please login to merge, or discard this patch.
generator/field/AdminPageFramework_Form_View___Generate_FlatFieldName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * @return      string      The generated field name model.
32 32
      */
33 33
     public function getModel() {
34
-        return $this->get() . '|' . $this->sIndexMark;
34
+        return $this->get().'|'.$this->sIndexMark;
35 35
     }
36 36
         
37 37
         /**
Please login to merge, or discard this patch.
field/AdminPageFramework_Form_View___Generate_FlatFieldInputName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             '',
39 39
             "|{$this->sIndex}"
40 40
         );                
41
-        return $this->_getFiltered( $this->_getFlatFieldName() . $_sIndex );
41
+        return $this->_getFiltered( $this->_getFlatFieldName().$_sIndex );
42 42
         
43 43
     }
44 44
  
Please login to merge, or discard this patch.
generator/section/AdminPageFramework_Form_View___Generate_SectionName.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,26 +25,26 @@
 block discarded – undo
25 25
         return $this->_getFiltered( $this->_getSectionName() );
26 26
     }
27 27
         
28
-    public function getModel()     {
29
-        return $this->get() . '[' . $this->sIndexMark . ']';
28
+    public function getModel() {
29
+        return $this->get().'['.$this->sIndexMark.']';
30 30
     }
31 31
         
32 32
         /**
33 33
          * @return      string
34 34
          */
35
-        protected function _getSectionName( $isIndex=null ) {
35
+        protected function _getSectionName( $isIndex = null ) {
36 36
 
37 37
             $this->aArguments = $this->aArguments + array(
38 38
                 'section_id' => null,
39 39
                 '_index'     => null,
40 40
             );
41
-            if( isset( $isIndex ) ) {
41
+            if ( isset( $isIndex ) ) {
42 42
                 $this->aArguments[ '_index' ] = $isIndex;
43 43
             }
44 44
             
45 45
             $_aNameParts = $this->aArguments[ '_section_path_array' ];
46 46
             if ( isset( $this->aArguments[ 'section_id' ], $this->aArguments[ '_index' ] ) ) {
47
-                $_aNameParts[] = $this->aArguments[ '_index' ];
47
+                $_aNameParts[ ] = $this->aArguments[ '_index' ];
48 48
             }
49 49
             $_sResult = $this->_getInputNameConstructed( $_aNameParts );
50 50
             return $_sResult;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return $this->_getFiltered( $this->_getSectionName() );
26 26
     }
27 27
         
28
-    public function getModel()     {
28
+    public function getModel() {
29 29
         return $this->get() . '[' . $this->sIndexMark . ']';
30 30
     }
31 31
         
Please login to merge, or discard this patch.
development/factory/_common/form/AdminPageFramework_Form.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Stores section set definitions.
40 40
      */
41
-    public $aSectionsets  = array(
41
+    public $aSectionsets = array(
42 42
         '_default' => array(
43 43
             'section_id'    => '_default',
44 44
         ),
@@ -47,12 +47,12 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Stores field set definitions.
49 49
      */    
50
-    public $aFieldsets    = array();
50
+    public $aFieldsets = array();
51 51
     
52 52
     /**
53 53
      * Multi-dimensional array holding the saved form data.
54 54
      */
55
-    public $aSavedData    = array();
55
+    public $aSavedData = array();
56 56
         
57 57
     /**
58 58
      * The capability level of the form.
@@ -62,13 +62,13 @@  discard block
 block discarded – undo
62 62
      * Each secitonset and fieldset has individual capability. If they are not set,
63 63
      * This value will be applied.
64 64
      */            
65
-    public $sCapability = '';       // default - an empty string
65
+    public $sCapability = ''; // default - an empty string
66 66
     
67 67
     /**
68 68
      * Stores callback functions.
69 69
      * Each value will have a callback.
70 70
      */
71
-    public $aCallbacks    = array(
71
+    public $aCallbacks = array(
72 72
     
73 73
         /**
74 74
          * @return      string      The form default capability level.    
Please login to merge, or discard this patch.