Location: PHPKode > projects > injooosm > administrator/components/com_injooosm/tables/osm_terrain.php
<?php
/**
 * Joomla! 1.5 component injooosm
 *
 * @version $Id: osm_terain.php 2009-11-22 14:03:00$
 * @author Christian Knorr
 * @package injooosm
 * @subpackage backend
 * @license GNU/GPL
 * @filesource
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

// Include library dependencies
jimport('joomla.filter.input');

/**
* Table class
*
*/
class TableOSM_terrain extends JTable  {

        var $id             = NULL;
        var $title          = NULL;
        var $published      = NULL;
        var $checked_out    = NULL;
        var $ordering       = NULL;

        /**
         *
         * @param object $db
         */
        function __construct(& $db) {
            parent::__construct('#__osm_terrain', 'id', $db);
        }

        /**
         *
         * @param array $array
         * @param string $ignore
         * @return string
         */
        function bind($array, $ignore = '')
        {
            if (key_exists( 'params', $array ) && is_array( $array['params'] ))
            {
                $registry = new JRegistry();
                $registry->loadArray($array['params']);
                $array['params'] = $registry->toString();
            }

            return parent::bind($array, $ignore);
        }
        
}
Return current item: injooosm