| 
                                
                                    @@ 682-683 (lines=2) @@
                                 | 
                            
                                                            
                                    | 679 | 
                                     | 
                                            if ( isset( $this->components[ $component ][ 'object' ] ) && !method_exists( $this->components[ $component ][ 'object' ], 'ajax_' . $method ) && method_exists( $this, 'admin_ajax_' . $method ) )  | 
                                
                                                            
                                    | 680 | 
                                     | 
                                                $output = call_user_func( array( $this, 'admin_ajax_' . $method ), $component, $params );  | 
                                
                                                            
                                    | 681 | 
                                     | 
                                            // Make sure method exists  | 
                                
                                                            
                                    | 682 | 
                                     | 
                                            elseif ( !isset( $this->components[ $component ][ 'object' ] ) || !method_exists( $this->components[ $component ][ 'object' ], 'ajax_' . $method ) )  | 
                                
                                                            
                                    | 683 | 
                                     | 
                                                pods_error( 'API method does not exist', $this );  | 
                                
                                                            
                                    | 684 | 
                                     | 
                                            // Dynamically call the component method  | 
                                
                                                            
                                    | 685 | 
                                     | 
                                            else  | 
                                
                                                            
                                    | 686 | 
                                     | 
                                                $output = call_user_func( array( $this->components[ $component ][ 'object' ], 'ajax_' . $method ), $params );  | 
                                
                                                                                
                                 | 
                                
                                    @@ 695-698 (lines=4) @@
                                 | 
                            
                                                            
                                    | 692 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 693 | 
                                     | 
                                     | 
                                
                                                            
                                    | 694 | 
                                     | 
                                        public function admin_ajax_settings ( $component, $params ) { | 
                                
                                                            
                                    | 695 | 
                                     | 
                                            if ( !isset( $this->components[ $component ] ) )  | 
                                
                                                            
                                    | 696 | 
                                     | 
                                                wp_die( 'Invalid Component' );  | 
                                
                                                            
                                    | 697 | 
                                     | 
                                            elseif ( !method_exists( $this->components[ $component ][ 'object' ], 'options' ) )  | 
                                
                                                            
                                    | 698 | 
                                     | 
                                                pods_error( 'Component options method does not exist', $this );  | 
                                
                                                            
                                    | 699 | 
                                     | 
                                     | 
                                
                                                            
                                    | 700 | 
                                     | 
                                            $options = $this->components[ $component ][ 'object' ]->options( $this->settings[ 'components' ][ $component ] );  | 
                                
                                                            
                                    | 701 | 
                                     | 
                                     |