- bug fixed. Auto gen select field for Multi Foreign Key
- new feature. schema file.
additional argument schemaonly
"php generator.php schemaonly"
user can edit schema( e.g. foreign key setting) before generate program code.
download
Tuesday, July 27, 2010
Friday, July 9, 2010
Tuesday, July 7, 2009
Monday, July 6, 2009
Wednesday, July 1, 2009
Friday, June 26, 2009
enhanced CI pagination
(For codeigniter v1.7.1)
Additional parameter for pager assign href value and onclick function.
{arg} value will be replace by {paging link tag}.
so that if paging link tag is 20.
ci class will output: href="http://sample/page/20"
this class will output: href="http://sample/page/20" onclick="doSomething('20'); return false;"
[sample]
$pagination_config['base_function_name'] = jhistoryList(\'#list/format/html/begin/{arg}\')';
$pagination_config['replace_href_content'] = current_url().'#list/format/html/begin/{arg}';
$this->pagination->initialize($pagination_config);
Download
Additional parameter for pager assign href value and onclick function.
{arg} value will be replace by {paging link tag}.
so that if paging link tag is 20.
ci class will output: href="http://sample/page/20"
this class will output: href="http://sample/page/20" onclick="doSomething('20'); return false;"
[sample]
$pagination_config['base_function_name'] = jhistoryList(\'#list/format/html/begin/{arg}\')';
$pagination_config['replace_href_content'] = current_url().'#list/format/html/begin/{arg}';
$this->pagination->initialize($pagination_config);
Download
multilingual supported CI Calendar
(For codeigniter v1.7.1)
Additional parameter for translate calendar's day names and month names.
[sample]
$prefs['translated_day_names'] = array('日', '一', '二', '三', '四', '五', '六');
$prefs['translated_month_names'] = array('01' => '一月', '02' => '二月', '03' => '三月', '04' => '四月', '05' => '五月', '06' => '六月', '07' => '七月', '08' => '八月', '09' => '九月', '10' => '十月', '11' => '十一月', '12' => '十二月');
一月', '12' => '十二月');
$this->load->library('calendar', $prefs);
Download
Additional parameter for translate calendar's day names and month names.
[sample]
$prefs['translated_day_names'] = array('日', '一', '二', '三', '四', '五', '六');
$prefs['translated_month_names'] = array('01' => '一月', '02' => '二月', '03' => '三月', '04' => '四月', '05' => '五月', '06' => '六月', '07' => '七月', '08' => '八月', '09' => '九月', '10' => '十月', '11' => '十一月', '12' => '十二月');
一月', '12' => '十二月');
$this->load->library('calendar', $prefs);
Download
Subscribe to:
Posts (Atom)
