Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function fetch($fetchAssociative=true, $params=array()){
- $results = $this->command->queryRow($fetchAssociative=true,$params=array());
- $this->command->reset();
- return $results;
- }
- public function fetchAll($fetchAssociative=true,$params=array()){
- $results = $this->command->queryAll($fetchAssociative=true,$params=array());
- $this->command->reset();
- return $results;
- }
- public function execute($params=array()){
- $results = $this->command->execute($params=array());
- $this->command->reset();
- return $results;
- }
Add Comment
Please, Sign In to add comment