Guest User

Untitled

a guest
Jul 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php
  2. final class ccNews extends CSQL2 {
  3. function __construct($db, $where = null, $autoload = true, $autosave = true) {
  4. if ($where != null && gettype($where) != 'array') {
  5. $where = array('id' => $where);
  6. }
  7.  
  8. parent::__construct($db, 'cc' . SERVERID . '_users', $where, array(
  9. 'sequence' => 'id',
  10. 'autoload' => $autoload,
  11. 'autosave' => $autosave
  12. ));
  13. }
  14. }
Add Comment
Please, Sign In to add comment