# |
Aug 8th 2008, 08:43 |
ammadsaleem1 |
can cake help me in this regard |
# |
Aug 8th 2008, 08:43 |
TommyO |
pgcd_away: $this->model() |
# |
Aug 8th 2008, 08:43 |
TommyO |
pgcd_away: see Helper class, which all helpers, including your, inherits. it has a model() method |
# |
Aug 8th 2008, 08:42 |
ammadsaleem1 |
? |
# |
Aug 8th 2008, 08:42 |
ammadsaleem1 |
is there any other solution to the probelm |
# |
Aug 8th 2008, 08:41 |
ammadsaleem1 |
since it may cause script time out, so i am going for threading |
# |
Aug 8th 2008, 08:41 |
ammadsaleem1 |
The thing I want to carry out is to perform a mass database update |
# |
Aug 8th 2008, 08:39 |
pgcd_away |
of course, i might resort to good old foreach, if needed |
# |
Aug 8th 2008, 08:39 |
TommyO |
it is stateless |
# |
Aug 8th 2008, 08:39 |
TommyO |
ammadsaleem1: do you understand PHP? the application starts on each new visit and ends when the page is returned to the client |
# |
Aug 8th 2008, 08:39 |
pgcd_away |
I tried using $this->data in the helper, but the fields are grouped by model, and I'd like to avoid having to use model names in the helper... |
# |
Aug 8th 2008, 08:38 |
ammadsaleem1 |
no just when the appliction on the Server starts |
# |
Aug 8th 2008, 08:38 |
pgcd_away |
if i have a helper that sets default values for fields with a certain name (in any model), what's the best way to make sure the defaults don't overwrite the actual values when they are available? |
# |
Aug 8th 2008, 08:37 |
TheBig |
in which you can use standard functions as beforeFilter() and so on... |
# |
Aug 8th 2008, 08:36 |
TheBig |
anyway you should work in AppController |
# |
Aug 8th 2008, 08:36 |
TheBig |
ammadsaleem1, at any access? |
# |
Aug 8th 2008, 08:36 |
ammadsaleem1 |
any suggestions |
# |
Aug 8th 2008, 08:36 |
ammadsaleem1 |
no basically I want to run a thread whenever cakePHP site runs |
# |
Aug 8th 2008, 08:32 |
TommyO |
ammadsaleem1: by 'function' you mean which action you're in? where are you when you want to figure this out? |
# |
Aug 8th 2008, 08:29 |
ammadsaleem1 |
I want to find out which function is call edd by CakePHP at application start? |
# |
Aug 8th 2008, 08:23 |
ammadsaleem1 |
I want to find out which function is call edd by CakePHP at application start? |
# |
Aug 8th 2008, 08:18 |
freebox2 |
like: <?php echo $form->text('username', array('class' => 'users','label' => 'Insert your username')); ?> |
# |
Aug 8th 2008, 08:18 |
freebox2 |
have a "label" for input? |
# |
Aug 8th 2008, 08:00 |
achew22 |
THERE IS NO 2!!! |
# |
Aug 8th 2008, 08:00 |
shine_ |
2 |
# |
Aug 8th 2008, 07:59 |
il_padrino |
111111111111111111111111 |
# |
Aug 8th 2008, 07:59 |
il_padrino |
1 |
# |
Aug 8th 2008, 07:45 |
lqdice__ |
Lemon|work: you can d/l stuff like that all over the web |
# |
Aug 8th 2008, 07:23 |
Lemon|work |
pm me if interested |
# |
Aug 8th 2008, 07:23 |
Lemon|work |
its about creating a cakephp helper for a datepicker |
# |
Aug 8th 2008, 07:23 |
Lemon|work |
possible to pay with paypal |
# |
Aug 8th 2008, 07:23 |
Lemon|work |
small one |
# |
Aug 8th 2008, 07:23 |
Lemon|work |
Anyone here interested in a coding job? |
# |
Aug 8th 2008, 07:16 |
lqdice__ |
nah its my browser setu p .. i cant login to any website |
# |
Aug 8th 2008, 07:14 |
Lemon|work |
i think the problem is in your application and not the browser |
# |
Aug 8th 2008, 07:13 |
lqdice__ |
hmm i think cookies are disabled or something |
# |
Aug 8th 2008, 07:12 |
lqdice__ |
IE6 can't login to my site.. doesnt say username is wrong but it doesnt forward the user to the home page, works on IE7 and Firefox.. any ideas? |
# |
Aug 8th 2008, 07:11 |
lqdice__ |
Lemon|work: i guess a lot of ppl still use it |
# |
Aug 8th 2008, 07:09 |
Lemon|work |
since it is no longer supported |
# |
Aug 8th 2008, 07:09 |
Lemon|work |
Why was php4 supported in cakephp 1.2 anyways? |
# |
Aug 8th 2008, 07:08 |
skua |
and foo will be a Configure::read() variable |