| Current Path : /home/azimutno/www/administrator/components/com_poweradmin/tables/ |
| Current File : /home/azimutno/www/administrator/components/com_poweradmin/tables/category.php |
<?php
/*------------------------------------------------------------------------
# JSN PowerAdmin
# ------------------------------------------------------------------------
# author JoomlaShine.com Team
# copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
# Websites: http://www.joomlashine.com
# Technical Support: Feedback - http://www.joomlashine.com/joomlashine/contact-us.html
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# @version $Id: category.php 12506 2012-05-09 03:55:24Z hiennh $
-------------------------------------------------------------------------*/
// No direct access
defined('_JEXEC') or die;
// Import JTableCategory
JLoader::register('JTableCategory', JPATH_PLATFORM . '/joomla/database/table/category.php');
/**
* @package Joomla.Administrator
* @subpackage com_categories
*/
class CategoriesTableCategory extends JTableCategory
{
/**
* Method to delete a node and, optionally, its child nodes from the table.
*
* @param integer $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.
*
* @see http://docs.joomla.org/JTableNested/delete
* @since 2.5
*/
public function delete($pk = null, $children = false)
{
return parent::delete($pk, $children);
}
}