| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: plugin.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla.Framework 5 * @subpackage Table 6 * @copyright Copyright (C) 2005 - 2010 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 { 128 $registry = new JRegistry(); 129 $registry->loadArray($array['params']); 130 $array['params'] = $registry->toString(); 131 } 132 133 return parent::bind($array, $ignore); 134 } 135 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |