b0y-101 Mini Shell


Current Path : E:/www/risk/administrator/components/com_categories/src/Table/
File Upload :
Current File : E:/www/risk/administrator/components/com_categories/src/Table/CategoryTable.php

<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_categories
 *
 * @copyright   (C) 2008 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Categories\Administrator\Table;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Category table
 *
 * @since  1.6
 */
class CategoryTable extends \Joomla\CMS\Table\Category
{
    /**
     * Method to delete a node and, optionally, its child nodes from the table.
     *
     * @param   integer|null  $pk        The primary key of the node to delete.
     * @param   boolean       $children  True to delete child nodes, false to move them up a level.
     *
     * @return  boolean  True on success.
     *
     * @since   2.5
     */
    public function delete($pk = null, $children = false)
    {
        return parent::delete($pk, $children);
    }
}

Copyright © 2019 by b0y-101