Commit Graph

295 Commits

Author SHA1 Message Date
Sean Harvey
39229e19f4 Added note in _config.php for what this is for 2008-05-14 11:12:52 +00:00
Sean Harvey
e4f51e07c2 Added basics for testing, and some test classes for future test operations 2008-05-14 11:09:47 +00:00
Sean Harvey
54164a129f Whitespace 2008-05-14 10:57:41 +00:00
Sean Harvey
6cfe0680c0 Added TODO items to fix later 2008-05-14 10:57:25 +00:00
Sean Harvey
927e974724 Added TODO about session being "baked" into MultiForm directly 2008-05-14 10:45:19 +00:00
Sean Harvey
8d93736482 Fall back to using the class name if there is no title property set 2008-05-14 10:40:19 +00:00
Sean Harvey
56325faf8f added an accessor method for $this->session 2008-05-14 10:22:58 +00:00
Sean Harvey
f5f93fb10e Added basic test to MultiForm 2008-05-14 07:18:12 +00:00
Sean Harvey
626c272b6f Remove the relation as well as delete the object 2008-05-14 07:16:38 +00:00
Sean Harvey
652c0af4c2 Added parent::onBeforeDelete() - without this, it breaks! 2008-05-14 06:54:53 +00:00
Sean Harvey
ff9662f9f5 Revert last change 2008-04-30 03:47:33 +00:00
Sean Harvey
3872ca004c Don't need to check if data exists first 2008-04-30 03:46:35 +00:00
Sean Harvey
75a4fb78d5 Added TODO 2008-04-29 09:50:06 +00:00
Sean Harvey
ac09ddfa86 Removed the disabling of SecurityID 2008-04-28 06:42:32 +00:00
Sean Harvey
d878a45645 tweaked doc 2008-04-28 03:13:29 +00:00
Sean Harvey
9475fabee7 Fixed old documentation 2008-04-28 03:13:03 +00:00
Sean Harvey
20207a8dee Disable default form security token - our sessions are identified by URL, so this won't work! (Although we could possibly find a better way than simply disabling this in the future) 2008-04-28 03:10:13 +00:00
Sean Harvey
dac113fe3d Made the hidden field work the same way as the FormAction() 2008-04-23 10:46:11 +00:00
Sean Harvey
6f07bf39b2 Added phpdoc to methods and classes 2008-04-22 11:03:03 +00:00
Sean Harvey
ec747bc6c6 Documented loadData() and saveData() 2008-04-21 08:54:48 +00:00
Sean Harvey
aa6236b495 Added getController (an accessor method to $this->controller so we can use $Controller, or <% control Controller %> in the form templates) 2008-04-21 08:32:05 +00:00
Sean Harvey
22d9241021 Added getPreviousStepFromDatabase() to return the previous step class record from the database (if it exists!) 2008-04-21 05:06:47 +00:00
Sean Harvey
6baef78fd3 Added missing doc on init() 2008-04-20 22:07:18 +00:00
Sean Harvey
45fd3853c9 Updated README file 2008-04-20 22:06:02 +00:00
Sean Harvey
18fe36cdd9 Encapsulated getting session records, added notes 2008-04-20 09:28:02 +00:00
Sean Harvey
d5e613a9fb Fixed XML parsing error in template 2008-04-20 09:25:24 +00:00
Sean Harvey
a4a78b82cb Use microtime() 2008-04-20 05:59:15 +00:00
Sean Harvey
985abc7557 Variable name change 2008-04-20 00:44:14 +00:00
Sean Harvey
b298e83a0f Removed two of the same calls, just use one outside the if-else block instead 2008-04-20 00:43:19 +00:00
Sean Harvey
0d3196607a Made use of MultiFormStep::getNextStepFromDatabase() instead of direct DO::get() call, and check for SessionID before attempting a DO::get() 2008-04-20 00:39:01 +00:00
Sean Harvey
facf2e3833 Docs, bug fixes in code 2008-04-20 00:28:49 +00:00
Sean Harvey
eb5b57f418 encapsulated $this->session->CurrentStep() calls to getCurrentStep() 2008-04-20 00:28:18 +00:00
Sean Harvey
a0dfd338fb Encapsulated procedures from init() into their own methods, specifically, setSession() which sets up the current multiform session, and getCurrentStep() is now smarter and setCurrentStep() does the step writing responsibilities 2008-04-20 00:01:27 +00:00
Sean Harvey
75cee5851a Removed TODO that's been done! 2008-04-19 03:42:17 +00:00
Sean Harvey
c4cb832e57 $LinkingMode isn't always available, like for a step that hasn't been reached yet 2008-04-19 03:00:51 +00:00
Sean Harvey
75ce791dca Added documentation 2008-04-19 01:23:28 +00:00
Sean Harvey
a47191c802 Removed calls to previously removed methods 2008-04-19 01:21:48 +00:00
Sean Harvey
01fe23fe2f Removed unused methods 2008-04-19 01:19:47 +00:00
Sean Harvey
433d74b94d Added TODO 2008-04-19 01:17:12 +00:00
Sean Harvey
39005fdf84 Added support for Hash identification of a MultiFormSession - probably needs some encapsulation, as we're adding more code to init(), and encapsulate the checking of this->stat('url_type') into it's own method, so you don't need to do the ternary operator so much 2008-04-19 01:14:16 +00:00
Sean Harvey
0775215578 Removed url_type - this isn't done quite yet to be committed. 2008-04-19 00:08:19 +00:00
Sean Harvey
cb0a14e601 Added TODO about expiration 2008-04-19 00:05:02 +00:00
Sean Harvey
101771a096 Added TODO for security 2008-04-18 23:49:01 +00:00
Sean Harvey
a48c1433ea Changed static function isActionField to is_action_field to adhere to coding standards 2008-04-18 23:25:41 +00:00
Sean Harvey
5c76350fba 2008-04-17 22:03:51 +00:00