for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace XoopsModules\Lexikon;
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* Module: lexikon
*
* @category Module
* @package lexikon
* @author XOOPS Development Team <[email protected]> - <https://xoops.org>
* @copyright {@link https://xoops.org/ XOOPS Project}
* @license GPL 2.0 or later
* @link https://xoops.org/
* @since 1.0.0
use Xmf\Module\Helper\Permission;
use XoopsDatabase;
$moduleDirName = \basename(\dirname(__DIR__));
$permHelper = new Permission($moduleDirName);
* Class LexikonCategoriesHandler
class CategoriesHandler extends \XoopsPersistableObjectHandler
{
* Constructor
* @param null|\XoopsDatabase $db
public function __construct(XoopsDatabase $db = null)
parent::__construct($db, 'lxcategories', Categories::class, 'categoryID', 'name');
}