| 
                                
                                    @@ 255-265 (lines=11) @@
                                 | 
                            
                                                            
                                    | 252 | 
                                     | 
                                    	 * @param string|null $key The key to a specific field in the fields array  | 
                                
                                                            
                                    | 253 | 
                                     | 
                                    	 * @return array|mixed|null If $key is set and field exists at $key, return that. If not set, return NULL. Otherwise, return array of fields.  | 
                                
                                                            
                                    | 254 | 
                                     | 
                                    	 */  | 
                                
                                                            
                                    | 255 | 
                                     | 
                                    	public function getAtts( $key = NULL ) { | 
                                
                                                            
                                    | 256 | 
                                     | 
                                     | 
                                
                                                            
                                    | 257 | 
                                     | 
                                    		if( !empty( $key ) ) { | 
                                
                                                            
                                    | 258 | 
                                     | 
                                    			if( isset( $this->atts[ $key ] ) ) { | 
                                
                                                            
                                    | 259 | 
                                     | 
                                    				return $this->atts[ $key ];  | 
                                
                                                            
                                    | 260 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 261 | 
                                     | 
                                    			return NULL;  | 
                                
                                                            
                                    | 262 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 263 | 
                                     | 
                                     | 
                                
                                                            
                                    | 264 | 
                                     | 
                                    		return $this->atts;  | 
                                
                                                            
                                    | 265 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 266 | 
                                     | 
                                     | 
                                
                                                            
                                    | 267 | 
                                     | 
                                    	/**  | 
                                
                                                            
                                    | 268 | 
                                     | 
                                    	 * @param array $atts  | 
                                
                                                                                
                                 | 
                                
                                    @@ 342-351 (lines=10) @@
                                 | 
                            
                                                            
                                    | 339 | 
                                     | 
                                    	 * @param string $key The key to a specific field in the fields array  | 
                                
                                                            
                                    | 340 | 
                                     | 
                                    	 * @return array|mixed|null If $key is set and field exists at $key, return that. If not set, return NULL. Otherwise, return array of fields.  | 
                                
                                                            
                                    | 341 | 
                                     | 
                                    	 */  | 
                                
                                                            
                                    | 342 | 
                                     | 
                                    	public function getField( $key ) { | 
                                
                                                            
                                    | 343 | 
                                     | 
                                     | 
                                
                                                            
                                    | 344 | 
                                     | 
                                    		if( !empty( $key ) ) { | 
                                
                                                            
                                    | 345 | 
                                     | 
                                    			if( isset( $this->fields[ $key ] ) ) { | 
                                
                                                            
                                    | 346 | 
                                     | 
                                    				return $this->fields[ $key ];  | 
                                
                                                            
                                    | 347 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 348 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 349 | 
                                     | 
                                     | 
                                
                                                            
                                    | 350 | 
                                     | 
                                    		return NULL;  | 
                                
                                                            
                                    | 351 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 352 | 
                                     | 
                                     | 
                                
                                                            
                                    | 353 | 
                                     | 
                                    	/**  | 
                                
                                                            
                                    | 354 | 
                                     | 
                                    	 * @param string $key The key to a specific field in the fields array  |