|
@@ 491-492 (lines=2) @@
|
| 488 |
|
if ( method_exists( $this->components[ $component ][ 'object' ], 'admin' ) ) |
| 489 |
|
$this->components[ $component ][ 'object' ]->admin( $this->settings[ 'components' ][ $component ], $component ); |
| 490 |
|
// Built-in Admin Handler |
| 491 |
|
elseif ( method_exists( $this->components[ $component ][ 'object' ], 'options' ) ) |
| 492 |
|
$this->admin( $this->components[ $component ][ 'object' ]->options( $this->settings[ 'components' ][ $component ] ), $this->settings[ 'components' ][ $component ], $component ); |
| 493 |
|
} |
| 494 |
|
} |
| 495 |
|
|
|
@@ 689-690 (lines=2) @@
|
| 686 |
|
$output = false; |
| 687 |
|
|
| 688 |
|
// Component init |
| 689 |
|
if ( isset( $this->components[ $component ][ 'object' ] ) && method_exists( $this->components[ $component ][ 'object' ], 'init' ) ) |
| 690 |
|
$this->components[ $component ][ 'object' ]->init( $this->settings[ 'components' ][ $component ], $component ); |
| 691 |
|
|
| 692 |
|
// Handle internal methods |
| 693 |
|
if ( isset( $this->components[ $component ][ 'object' ] ) && !method_exists( $this->components[ $component ][ 'object' ], 'ajax_' . $method ) && method_exists( $this, 'admin_ajax_' . $method ) ) |