Location: PHPKode > projects > injooosm > administrator/components/com_injooosm/tables/osm_config.php
<?php
/**
 * Joomla! 1.5 component injooosm
 *
 * @version $Id: osm_config.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');
/**
 * Table class
 * 
 */
class TableOSM_config extends JTable  {

    var $id             = NULL;

    var $gid            = NULL;

    var $apikey         = NULL;

    var $unit           = NULL;

    var $type           = NULL;

    var $max_size       = NULL;

    var $terms          = NULL;

    var $terms_id       = NULL;

    var $sort           = NULL;

    var $map_height     = NULL;

    var $map_width      = NULL;

    var $map_type       = NULL;

    var $charts_width   = NULL;

    var $charts_height  = NULL;

    var $charts_linec   = NULL;

    var $charts_bg      = NULL;

    var $profile        = NULL;

    var $template       = NULL;

    var $comment_who    = NULL;

    var $inform_autor   = NULL;

    var $captcha        = NULL;

    var $ordering       = NULL;

    var $comments       = NULL;

    var $access         = NULL;

    var $map         = NULL;

    var $osm_allow_map         = NULL;
    /**
     *
     * @param object $db
     */
    function __construct(& $db) {
        parent::__construct('#__osm_config', 'id', $db);
    }

    /**
     *
     * @param arrray $array
     * @param string $ignore
     * @return object
     */
    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