XOOPS  2.6.0
XoopsObjectHandler.php
Go to the documentation of this file.
1 <?php
11 namespace Xoops\Core\Kernel;
12 
14 
29 abstract class XoopsObjectHandler
30 {
37  public $db2;
38 
44  protected function __construct(Connection $db = null)
45  {
46  if (!($db instanceof Connection)) {
47  $db = \Xoops::getInstance()->db();
48  }
49  $this->db2 = $db;
50  }
51 
57  public function create()
58  {
59  }
60 
68  public function get($int_id)
69  {
70  }
71 
80  public function insert(XoopsObject $object, $force = true)
81  {
82  }
83 
92  public function delete(XoopsObject $object, $force = true)
93  {
94  }
95 }
insert(XoopsObject $object, $force=true)
static getInstance()
Definition: Xoops.php:160