@ John Andersen:
for ex. force "DMY" as dateFormat in dateTime function
@ Miles J
cloning core helpers doesn't sounds very good to me...
i found an alternative way to "extend" core helpers... but it's not
elegant.
here's the code:
<?php
//WARNING: this code isn't tested
App::import("Helper", "Form");
class FormHelper extends AppHelper {
function __call($function, $args) {
if (!function_exists($function) && $this->Form-
>function_exists($function)) return call_user_func_array(array($this-
>form, $function), $args);
}
}
?>
On 11 Mag, 10:35, John Andersen <[email protected]> wrote:
> What do you mean by default settings?
> John
>
> On May 11, 11:26 am, Ernesto <[email protected]> wrote:
>
>
>
> > Hello.
>
> > is there any way to change FormHelper and HtmlHelper default settings??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---