@@ 296-297 (lines=2) @@ | ||
293 | else |
|
294 | $this->options( $component, array() ); |
|
295 | ||
296 | if ( method_exists( $this->components[ $component ][ 'object' ], 'handler' ) ) |
|
297 | $this->components[ $component ][ 'object' ]->handler( $this->settings[ 'components' ][ $component ] ); |
|
298 | } |
|
299 | } |
|
300 | } |
|
@@ 484-485 (lines=2) @@ | ||
481 | ||
482 | if ( isset( $this->components[ $component ] ) && isset( $this->components[ $component ][ 'object' ] ) && is_object( $this->components[ $component ][ 'object' ] ) ) { |
|
483 | // Component init |
|
484 | if ( method_exists( $this->components[ $component ][ 'object' ], 'init' ) ) |
|
485 | $this->components[ $component ][ 'object' ]->init( $this->settings[ 'components' ][ $component ], $component ); |
|
486 | ||
487 | // Component Admin handler |
|
488 | if ( method_exists( $this->components[ $component ][ 'object' ], 'admin' ) ) |