# |
Sep 11th 2009, 14:34 |
markstory |
mattalexx: "Creates a submit button with caption $caption." |
# |
Sep 11th 2009, 14:34 |
BlackIce |
first line on that page :P |
# |
Sep 11th 2009, 14:34 |
BlackIce |
submit(string $caption, array $options) |
# |
Sep 11th 2009, 14:34 |
BlackIce |
ah yes |
# |
Sep 11th 2009, 14:34 |
BlackIce |
the first param should do it I believe |
# |
Sep 11th 2009, 14:33 |
BlackIce |
and the api? |
# |
Sep 11th 2009, 14:33 |
mattalexx |
Yup. http://book.cakephp.org/view/729/submit |
# |
Sep 11th 2009, 14:33 |
BlackIce |
mattalexx: checked the docs? |
# |
Sep 11th 2009, 14:32 |
mattalexx |
How do I change the label on a form submit button? "$form->submit(null, array('value' => 'New label'))" |
# |
Sep 11th 2009, 14:31 |
markstory |
but it makes using the code a bit hard. great for working on the code though. |
# |
Sep 11th 2009, 14:31 |
markstory |
the idea with all the branches is it lets people work on small parts without breaking other things. |
# |
Sep 11th 2009, 14:31 |
Ceeram |
and you are done with it :) |
# |
Sep 11th 2009, 14:31 |
Ceeram |
i know :) |
# |
Sep 11th 2009, 14:31 |
markstory |
Ceeram: yeah, I re-wrote most of that class, but in 1.3-console. |
# |
Sep 11th 2009, 14:30 |
Ceeram |
the bin is from acl shell |
# |
Sep 11th 2009, 14:30 |
olinux |
got it $session->check('Message.flash') |
# |
Sep 11th 2009, 14:30 |
markstory |
things are a bit messy still... |
# |
Sep 11th 2009, 14:29 |
Ceeram |
lol |
# |
Sep 11th 2009, 14:29 |
markstory |
because that would be most uptodate in the 1.3-console branch :) |
# |
Sep 11th 2009, 14:29 |
markstory |
is that the acl shell? |
# |
Sep 11th 2009, 14:28 |
Ceeram |
still 22 matches in 1.3-misc |
# |
Sep 11th 2009, 14:28 |
Ceeram |
http://bin.cakephp.org/view/1090768914 |
# |
Sep 11th 2009, 14:28 |
olinux |
can i check if isset $session->flash()? |
# |
Sep 11th 2009, 14:28 |
Ceeram |
~bin |
# |
Sep 11th 2009, 14:28 |
Ceeram |
you want the console ones as well? |
# |
Sep 11th 2009, 14:25 |
markstory |
well origin/1.3-misc |
# |
Sep 11th 2009, 14:25 |
Ceeram |
1.3 |
# |
Sep 11th 2009, 14:25 |
Ceeram |
if i remember correct git checkout -b origin/1.2-misc? |
# |
Sep 11th 2009, 14:25 |
ChipotleCoyote |
Heh. That would certainly make things easier. Symfony does look cool, but it has a "created by Java programmers" feel to it. |
# |
Sep 11th 2009, 14:25 |
Ceeram |
ok ill switch to that branch then |
# |
Sep 11th 2009, 14:25 |
markstory |
I think I got them all there. |
# |
Sep 11th 2009, 14:25 |
deboni |
can i submit a form (method = GET) and the url be with named parameters? without redirect? |
# |
Sep 11th 2009, 14:25 |
markstory |
do the searches in 1.3-misc. |
# |
Sep 11th 2009, 14:24 |
Ceeram |
i will search for other convenience functions as well |
# |
Sep 11th 2009, 14:24 |
markstory |
Ceeram: I will backport the patches though. :) |
# |
Sep 11th 2009, 14:24 |
TehTreag |
ChipotleCoyote: Cool. Now just get the job, and convert them all over. :) |
# |
Sep 11th 2009, 14:23 |
markstory |
I removed them all from there. |
# |
Sep 11th 2009, 14:23 |
ChipotleCoyote |
Hm. Apparently, working with CakePHP has just gotten me an interview for a job that would be working with Symfony. How's that work? |
# |
Sep 11th 2009, 14:23 |
markstory |
Ceeram: try looking in 1.3 |
# |
Sep 11th 2009, 14:23 |
Ceeram |
809: $_this->regex = '/^(?:(?:https?|ftps?|file|news|gopher):\/\/)' . ife($strict, '', '?') . |
# |
Sep 11th 2009, 14:22 |
Ceeram |
another one: cake/libs/validation.php |