Skip to content

Instantly share code, notes, and snippets.

@leyluj
leyluj / form
Created February 4, 2014 12:33 — forked from duskohu/form
<?php
$form->addDatePicker('date', 'Date')
->setDefaultValue(new DateTime());
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter MY_Model Class
*
* Base model with CRUD functions for CodeIgniter Framework.
* Bassed on Jamie Rumbelow model base class.
*
* @package CodeIgniter
* @subpackage Libraries