Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5
Source code for file /joomla/database/table/plugin.php

Documentation is available at plugin.php

  1. <?php
  2. /**
  3.  * @version        $Id: plugin.php 6472 2007-02-03 10:47:26Z pasamio $
  4.  * @package        Joomla.Framework
  5.  * @subpackage    Table
  6.  * @copyright    Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
  7.  * @license        GNU/GPL, see LICENSE.php
  8.  *  Joomla! is free software. This version may have been modified pursuant
  9.  *  to the GNU General Public License, and as distributed it includes or
  10.  *  is derivative of works licensed under the GNU General Public License or
  11.  *  other free or open source software licenses.
  12.  *  See COPYRIGHT.php for copyright notices and details.
  13.  */
  14.  
  15. // Check to ensure this file is within the rest of the framework
  16. defined('JPATH_BASE'or die();
  17.  
  18. /**
  19.  * Plugin table
  20.  *
  21.  * @package     Joomla.Framework
  22.  * @subpackage        Table
  23.  * @since    1.0
  24.  */
  25. class JTablePlugin extends JTable
  26. {
  27.     /**
  28.      * Primary Key
  29.      *
  30.      *  @var int 
  31.      */
  32.     var $id = null;
  33.  
  34.     /**
  35.      *
  36.      *
  37.      * @var varchar 
  38.      */
  39.     var $name = null;
  40.  
  41.     /**
  42.      *
  43.      *
  44.      * @var varchar 
  45.      */
  46.     var $element = null;
  47.  
  48.     /**
  49.      *
  50.      *
  51.      * @var varchar 
  52.      */
  53.     var $folder = null;
  54.  
  55.     /**
  56.      *
  57.      *
  58.      * @var tinyint unsigned
  59.      */
  60.     var $access = null;
  61.  
  62.     /**
  63.      *
  64.      *
  65.      * @var int 
  66.      */
  67.     var $ordering = null;
  68.  
  69.     /**
  70.      *
  71.      *
  72.      * @var tinyint 
  73.      */
  74.     var $published = null;
  75.  
  76.     /**
  77.      *
  78.      *
  79.      * @var tinyint 
  80.      */
  81.     var $iscore = null;
  82.  
  83.     /**
  84.      *
  85.      *
  86.      * @var tinyint 
  87.      */
  88.     var $client_id = null;
  89.  
  90.     /**
  91.      *
  92.      *
  93.      * @var int unsigned
  94.      */
  95.     var $checked_out = 0;
  96.  
  97.     /**
  98.      *
  99.      *
  100.      * @var datetime 
  101.      */
  102.     var $checked_out_time = 0;
  103.  
  104.     /**
  105.      *
  106.      *
  107.      * @var text 
  108.      */
  109.     var $params = null;
  110.  
  111.     function __construct($db{
  112.         parent::__construct('#__plugins''id'$db);
  113.     }
  114.  
  115.     /**
  116.     * Overloaded bind function
  117.     *
  118.     * @access public
  119.     * @param array $hash named array
  120.     * @return null|string   null is operation was satisfactory, otherwise returns an error
  121.     * @see JTable:bind
  122.     * @since 1.5
  123.     */
  124.     function bind($array$ignore '')
  125.     {
  126.         if (isset$array['params'&& is_array($array['params'])) {
  127.             $registry new JRegistry();
  128.             $registry->loadArray($array['params']);
  129.             $array['params'$registry->toString();
  130.         }
  131.  
  132.         return parent::bind($array$ignore);
  133.     }
  134. }
  135. ?>

Documentation generated on Mon, 05 Mar 2007 21:18:48 +0000 by phpDocumentor 1.3.1