@@ 623-626 (lines=4) @@ | ||
620 | ||
621 | $output = include($cache_file); |
|
622 | ||
623 | if((is_a($output, 'BaseObject') || is_subclass_of($output, 'BaseObject')) && !$output->toBool()) |
|
624 | { |
|
625 | return $output; |
|
626 | } |
|
627 | ||
628 | // execute appropriate query |
|
629 | switch($output->getAction()) |
|
@@ 656-659 (lines=4) @@ | ||
653 | { |
|
654 | $output = $this->getError(); |
|
655 | } |
|
656 | else if(!is_a($output, 'BaseObject') && !is_subclass_of($output, 'BaseObject')) |
|
657 | { |
|
658 | $output = new BaseObject(); |
|
659 | } |
|
660 | $output->add('_query', $this->query); |
|
661 | $output->add('_elapsed_time', sprintf("%0.5f", $this->elapsed_time)); |
|
662 |
@@ 63-63 (lines=1) @@ | ||
60 | if(method_exists($oComponent, $method)) $output = $oComponent->{$method}(); |
|
61 | else return new BaseObject(-1,sprintf('%s method is not exists', $method)); |
|
62 | ||
63 | if((is_a($output, 'BaseObject') || is_subclass_of($output, 'BaseObject')) && !$output->toBool()) return $output; |
|
64 | ||
65 | $this->setError($oComponent->getError()); |
|
66 | $this->setMessage($oComponent->getMessage()); |