Location: PHPKode > projects > injooosm > administrator/components/com_injooosm/tables/osm_cats.php
<?php
/**
 * Joomla! 1.5 component injooosm
 *
 * @version $Id: osm_cats.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_cats extends JTable  {

        var $id                   = NULL;

        var $parent               = NULL;

        var $title                = NULL;

        var $description          = NULL;

        var $image                = NULL;

        var $ordering             = NULL;

        var $published            = NULL;

        var $checked_out          = NULL;

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

        /**
         *
         * @param array $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);
        }

	/**
	 * Overloaded check method to ensure data integrity
	 *
	 * @access public
	 * @return boolean True on success
	 */
	function check() {
		return true;
	}

}
Return current item: injooosm