Guest User

Untitled

a guest
Feb 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <?php
  2.  
  3. public function fetch($fetchAssociative=true, $params=array()){
  4. $results = $this->command->queryRow($fetchAssociative=true,$params=array());
  5. $this->command->reset();
  6. return $results;
  7. }
  8.  
  9. public function fetchAll($fetchAssociative=true,$params=array()){
  10. $results = $this->command->queryAll($fetchAssociative=true,$params=array());
  11. $this->command->reset();
  12. return $results;
  13. }
  14. public function execute($params=array()){
  15. $results = $this->command->execute($params=array());
  16. $this->command->reset();
  17. return $results;
  18. }
Add Comment
Please, Sign In to add comment