for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace XoopsModules\Newbb;
/**
* NewBB 5.0x, the forum module for XOOPS project
*
* @copyright XOOPS Project (https://xoops.org)
* @license GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html)
* @author Taiwen Jiang (phppp or D.J.) <[email protected]>
* @since 4.00
* @package module::newbb
*/
class Category extends \XoopsObject
{
public function __construct()
parent::__construct();
$this->initVar('cat_id', \XOBJ_DTYPE_INT);
$this->initVar('cat_title', \XOBJ_DTYPE_TXTBOX);
$this->initVar('cat_image', \XOBJ_DTYPE_SOURCE, 'blank.gif');
$this->initVar('cat_description', \XOBJ_DTYPE_TXTAREA);
$this->initVar('cat_order', \XOBJ_DTYPE_INT, 99);
$this->initVar('cat_url', \XOBJ_DTYPE_URL);
}