Source for file category.php

Documentation is available at category.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_categories
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Category table
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_categories
  17.  * @since       1.6
  18.  */
  19. {
  20.     /**
  21.      * Method to delete a node and, optionally, its child nodes from the table.
  22.      *
  23.      * @param   integer  $pk        The primary key of the node to delete.
  24.      * @param   boolean  $children  True to delete child nodes, false to move them up a level.
  25.      *
  26.      * @return  boolean  True on success.
  27.      *
  28.      * @see     http://docs.joomla.org/JTableNested/delete
  29.      * @since   2.5
  30.      */
  31.     public function delete($pk null$children false)
  32.     {
  33.         return parent::delete($pk$children);
  34.     }
  35. }

Documentation generated on Tue, 19 Nov 2013 14:55:28 +0100 by phpDocumentor 1.4.3