$access, what does it mean?

2007-07-31 Thread Steveston
Hi there, I am working on a cake app. I find there are many instances of $access['SOME_CAPITAL_WORD'] in the /view/default.phtml Can anybody suggest me what does it mean? Thanks, The following is a piece of code: ?php if (!empty($access['COURSE'])) { $courseSysFunc =

Re: $access, what does it mean?

2007-07-31 Thread francky06l
are you sure you are not using something else (that you should mentionned) with cake ? On Jul 31, 5:57 pm, Steveston [EMAIL PROTECTED] wrote: Hi there, I am working on a cake app. I find there are many instances of $access['SOME_CAPITAL_WORD'] in the /view/default.phtml Can anybody suggest

Re: $access, what does it mean?

2007-07-31 Thread Steveston
correction: this code snippet is from /app/views/default.phtml On Jul 31, 12:32 pm, francky06l [EMAIL PROTECTED] wrote: are you sure you are not using something else (that you should mentionned) with cake ? On Jul 31, 5:57 pm, Steveston [EMAIL PROTECTED] wrote: Hi there, I am working

Re: $access, what does it mean?

2007-07-31 Thread Grant Cox
1. All cake views are either *.thtml or *.ctp, not *.phtml 2. All cake views are in app/views/CONTROLLERNAME/*.ctp , they are not directly in app/views. 3. $access['SOME_CAPITAL_WORD'] is not standard cake. You must have additional helpers / components in there, if you are not manually