Commit Graph

169 Commits

Author SHA1 Message Date
Rob Gloudemans
5aa48468e2 Split the add() method into 2 methods 2013-07-08 23:26:04 +02:00
Rob Gloudemans
30403752ae Updated add() method, it now also accepts an array or a batch array. Mapped addBatch() method to add() method 2013-07-08 22:47:40 +02:00
Edwin
eb641093da Convert spaces to tabs.
Signed-off-by: Edwin <tkaw220@gmail.com>
2013-07-05 10:01:47 +08:00
Edwin
043e7fb1ce Convert indentation to tabs and change line ending to Unix.
Signed-off-by: Edwin <tkaw220@gmail.com>
2013-07-02 11:44:52 +08:00
Rob Gloudemans
7d148ad0ac Removed reference from closure 2013-06-06 11:19:52 +02:00
Rob Gloudemans
81c95e5204 Added typehint to search method 2013-06-03 16:18:59 +02:00
Rob Gloudemans
822ce588f4 Updated readme and phpdocs 2013-06-03 16:12:08 +02:00
Rob Gloudemans
5ebd3d9cd2 Updated the search function, it now does a better search, including options, and it returns the rowid of the found item(s) 2013-06-03 16:10:21 +02:00
Rob Gloudemans
d41c69ff80 Updated rowid generate function to sort the options array, (better for search function) 2013-06-01 08:51:50 +02:00
Rob Gloudemans
c0fadee95b Updated readme and phpdocs 2013-05-31 08:05:05 +02:00
Rob Gloudemans
c0210e033a Added a search function 2013-05-31 08:00:30 +02:00
Rob Gloudemans
951c4a8b0f Updated Cart::update() method so you can also update the 'options', also added unit test for it 2013-05-31 07:28:13 +02:00
Rob Gloudemans
e549a74e1f Updated phpdoc 2013-05-30 17:08:29 +02:00
Rob Gloudemans
437d92cd7b Added Cart::addBatch() method for batch insertion, updated the Cart::update() method, so you can update other attributes too 2013-05-30 16:59:18 +02:00
Rob Gloudemans
c6473310d2 Added possibility to have multiple cart instances 2013-05-28 22:26:25 +02:00
Rob Gloudemans
e727682446 Fixed bug with row qty that wasn't correctly updated 2013-05-28 22:02:11 +02:00
Rob Gloudemans
6ba8ac50b4 Removed unneeded namespace reference 2013-05-28 21:27:34 +02:00
Rob Gloudemans
dadd9d4087 Updated README, updated some phpdocs 2013-05-22 20:49:45 +02:00
Rob Gloudemans
fa7e90e48a Initial commit 2013-05-22 20:12:34 +02:00