classes/fields/email.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 99-108 (lines=10) @@ | 
                                                            
                                    | 96 |  |      * @return array | 
                                                            
                                    | 97 |  |      * @since 2.0 | 
                                                            
                                    | 98 |  |      */ | 
                                                            
                                    | 99 |  |     public function schema ( $options = null ) { | 
                                                            
                                    | 100 |  |         $length = (int) pods_var( self::$type . '_max_length', $options, 255 ); | 
                                                            
                                    | 101 |  |  | 
                                                            
                                    | 102 |  |         $schema = 'VARCHAR(' . $length . ')'; | 
                                                            
                                    | 103 |  |  | 
                                                            
                                    | 104 |  |         if ( 255 < $length || $length < 1 ) | 
                                                            
                                    | 105 |  |             $schema = 'LONGTEXT'; | 
                                                            
                                    | 106 |  |  | 
                                                            
                                    | 107 |  |         return $schema; | 
                                                            
                                    | 108 |  |     } | 
                                                            
                                    | 109 |  |  | 
                                                            
                                    | 110 |  |     /** | 
                                                            
                                    | 111 |  |      * Customize output of the form field | 
                                                                        
                 
                                                            
                    
classes/fields/password.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 87-96 (lines=10) @@ | 
                                                            
                                    | 84 |  |      * @return array | 
                                                            
                                    | 85 |  |      * @since 2.0 | 
                                                            
                                    | 86 |  |      */ | 
                                                            
                                    | 87 |  |     public function schema ( $options = null ) { | 
                                                            
                                    | 88 |  |         $length = (int) pods_var( self::$type . '_max_length', $options, 255 ); | 
                                                            
                                    | 89 |  |  | 
                                                            
                                    | 90 |  |         $schema = 'VARCHAR(' . $length . ')'; | 
                                                            
                                    | 91 |  |  | 
                                                            
                                    | 92 |  |         if ( 255 < $length || $length < 1 ) | 
                                                            
                                    | 93 |  |             $schema = 'LONGTEXT'; | 
                                                            
                                    | 94 |  |  | 
                                                            
                                    | 95 |  |         return $schema; | 
                                                            
                                    | 96 |  |     } | 
                                                            
                                    | 97 |  |  | 
                                                            
                                    | 98 |  |     /** | 
                                                            
                                    | 99 |  |      * Customize output of the form field | 
                                                                        
                 
                                                            
                    
classes/fields/phone.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 124-133 (lines=10) @@ | 
                                                            
                                    | 121 |  |      * @return array | 
                                                            
                                    | 122 |  |      * @since 2.0 | 
                                                            
                                    | 123 |  |      */ | 
                                                            
                                    | 124 |  |     public function schema ( $options = null ) { | 
                                                            
                                    | 125 |  |         $length = (int) pods_var( self::$type . '_max_length', $options, 25, null, true ); | 
                                                            
                                    | 126 |  |  | 
                                                            
                                    | 127 |  |         $schema = 'VARCHAR(' . $length . ')'; | 
                                                            
                                    | 128 |  |  | 
                                                            
                                    | 129 |  |         if ( 255 < $length || $length < 1 ) | 
                                                            
                                    | 130 |  |             $schema = 'LONGTEXT'; | 
                                                            
                                    | 131 |  |  | 
                                                            
                                    | 132 |  |         return $schema; | 
                                                            
                                    | 133 |  |     } | 
                                                            
                                    | 134 |  |  | 
                                                            
                                    | 135 |  |     /** | 
                                                            
                                    | 136 |  |      * Customize output of the form field | 
                                                                        
                 
                                                            
                    
classes/fields/text.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 118-127 (lines=10) @@ | 
                                                            
                                    | 115 |  |      * @return array | 
                                                            
                                    | 116 |  |      * @since 2.0 | 
                                                            
                                    | 117 |  |      */ | 
                                                            
                                    | 118 |  |     public function schema ( $options = null ) { | 
                                                            
                                    | 119 |  |         $length = (int) pods_var( self::$type . '_max_length', $options, 255 ); | 
                                                            
                                    | 120 |  |  | 
                                                            
                                    | 121 |  |         $schema = 'VARCHAR(' . $length . ')'; | 
                                                            
                                    | 122 |  |  | 
                                                            
                                    | 123 |  |         if ( 255 < $length || $length < 1 ) | 
                                                            
                                    | 124 |  |             $schema = 'LONGTEXT'; | 
                                                            
                                    | 125 |  |  | 
                                                            
                                    | 126 |  |         return $schema; | 
                                                            
                                    | 127 |  |     } | 
                                                            
                                    | 128 |  |  | 
                                                            
                                    | 129 |  |     /** | 
                                                            
                                    | 130 |  |      * Change the way the value of the field is displayed with Pods::get | 
                                                                        
                 
                                                            
                    
classes/fields/website.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 117-126 (lines=10) @@ | 
                                                            
                                    | 114 |  |      * @return array | 
                                                            
                                    | 115 |  |      * @since 2.0 | 
                                                            
                                    | 116 |  |      */ | 
                                                            
                                    | 117 |  |     public function schema ( $options = null ) { | 
                                                            
                                    | 118 |  |         $length = (int) pods_var( self::$type . '_max_length', $options, 255 ); | 
                                                            
                                    | 119 |  |  | 
                                                            
                                    | 120 |  |         $schema = 'VARCHAR(' . $length . ')'; | 
                                                            
                                    | 121 |  |  | 
                                                            
                                    | 122 |  |         if ( 255 < $length || $length < 1 ) | 
                                                            
                                    | 123 |  |             $schema = 'LONGTEXT'; | 
                                                            
                                    | 124 |  |  | 
                                                            
                                    | 125 |  |         return $schema; | 
                                                            
                                    | 126 |  |     } | 
                                                            
                                    | 127 |  |  | 
                                                            
                                    | 128 |  |     /** | 
                                                            
                                    | 129 |  |      * Change the way the value of the field is displayed with Pods::get |