| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | class PicturesHandler extends \XoopsPersistableObjectHandler |
||
| 36 | { |
||
| 37 | /** |
||
| 38 | * @var Helper |
||
| 39 | */ |
||
| 40 | public $helper; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Constructor |
||
| 44 | * @param null|\XoopsDatabase $db |
||
| 45 | * @param null|\XoopsModules\Adslight\Helper $helper |
||
| 46 | */ |
||
| 47 | |||
| 48 | public function __construct(\XoopsDatabase $db = null, $helper = null) |
||
| 49 | { |
||
| 50 | /** @var \XoopsModules\Adslight\Helper $this- >helper */ |
||
| 51 | $this->helper = $helper; |
||
| 52 | parent::__construct($db, 'adslight_pictures', Pictures::class, 'cod_img', 'title'); |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param bool $isNew |
||
| 57 | * |
||
| 58 | * @return \XoopsObject |
||
| 59 | */ |
||
| 60 | public function create($isNew = true) |
||
| 66 | } |
||
| 67 | } |
||
| 68 |