forked from IgnitedDatatables/Ignited-Datatables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
65 lines (48 loc) · 2.31 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
**********************
* Ignited Datatables *
**********************
Ignited Datatables is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine
found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter
Fork : https://github.com/IgnitedDatatables/Ignited-Datatables
Wiki : https://github.com/IgnitedDatatables/Ignited-Datatables/wiki
Discuss: http://ellislab.com/forums/viewthread/160896/
Contact: Vincent Bambico <[email protected]>
Yusuf Ozdemir <[email protected]>
============
Requirements
============
jQuery 1.5+
DataTables 1.10+
CodeIgniter "Reactor"
=======
Install
=======
To install the library, copy the libraries/datatables.php file into your application/libraries folder.
=======
DB2 Notes
=======
DB2 in regard to datatables is finicky. One caveat of note is that if you're using any date columns, you MUST cast them appropriately as
chars in your select, ex:
$data ['results'] = $this->datatables->from('TABLE')->select("COl, COL2,CHAR(DATECOL, USA)")->generate('array');
You can use USA or UTC in the CHAR() conversion.
=======
License
=======
DON'T BE A DICK PUBLIC LICENSE
Version 1, December 2009
Copyright (C) 2009 Philip Sturgeon <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DON'T BE A DICK PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. Do whatever you like with the original work, just don't be a dick.
Being a dick includes - but is not limited to - the following instances:
1a. Outright copyright infringement - Don't just copy this and change the name.
1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick.
1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.
2. If you become rich through modifications, related works/services, or supporting the original work,
share the love. Only a dick would make loads off this work and not buy the original works
creator(s) a pint.
3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.