# |
Aug 7th 2008, 10:33 |
seghezzi |
is that UML? |
# |
Aug 7th 2008, 10:33 |
jonathan_ |
omnigraffle |
# |
Aug 7th 2008, 10:33 |
moelee |
umm.. visio? |
# |
Aug 7th 2008, 10:33 |
seghezzi |
Hi what would be the best way to document a proyect using diagrams?? |
# |
Aug 7th 2008, 10:31 |
jonathan_ |
@ammadsaleem http://book.cakephp.org/view/98/helpers |
# |
Aug 7th 2008, 10:31 |
gwoo |
ammadsaleem: like i said use a helper |
# |
Aug 7th 2008, 10:30 |
loki_racer |
what would cause $javascript->link('jqchart/json',false); to work in one element, but not in another? |
# |
Aug 7th 2008, 10:30 |
ammadsaleem |
so that I can call them in my view |
# |
Aug 7th 2008, 10:30 |
ammadsaleem |
I want to define my own functions |
# |
Aug 7th 2008, 10:30 |
moelee |
trying to set a group to a parent group but the new aro created is in the root node of the tree.. any way for the new aro to be nested underneath its parent aro? |
# |
Aug 7th 2008, 10:28 |
TommyO |
ammadsaleem: also, cake has a simliar method ife(), so: echo ife($value == 1, 'enabled', 'disabled'); might do what you want |
# |
Aug 7th 2008, 10:23 |
gwoo |
ammadsaleem: ok that is a helper method |
# |
Aug 7th 2008, 10:23 |
ammadsaleem |
else disable |
# |
Aug 7th 2008, 10:23 |
ammadsaleem |
simply takes an argument if its 1 displays enable |
# |
Aug 7th 2008, 10:23 |
gwoo |
ammadsaleem: i know what it is, what i dont know is the name and what it does |
# |
Aug 7th 2008, 10:22 |
gwoo |
ammadsaleem: what does it do? |
# |
Aug 7th 2008, 10:22 |
ammadsaleem |
its my user defined function |
# |
Aug 7th 2008, 10:21 |
gwoo |
what does it do? |
# |
Aug 7th 2008, 10:21 |
gwoo |
ammadsaleem: testFunction? |
# |
Aug 7th 2008, 10:21 |
flzz |
is there a reason 1.2 defaults to allowing browsers to cache pages? and is Controller::disableCache() the appropriate way to deal with this? |
# |
Aug 7th 2008, 10:21 |
ammadsaleem |
testFunction($str1, $str2) |
# |
Aug 7th 2008, 10:21 |
jonathan_ |
^_^ |
# |
Aug 7th 2008, 10:20 |
jonathan_ |
i agree, just trying to be a smart arse |
# |
Aug 7th 2008, 10:20 |
jonathan_ |
good practice |
# |
Aug 7th 2008, 10:20 |
gwoo |
we make people work for them |
# |
Aug 7th 2008, 10:20 |
gwoo |
jonathan_: we dont just give away answers around here :) |
# |
Aug 7th 2008, 10:20 |
gwoo |
ammadsaleem: what is the name of your funciton? what does it do? |
# |
Aug 7th 2008, 10:20 |
jonathan_ |
i'll let the wise man answer the question |
# |
Aug 7th 2008, 10:19 |
gwoo |
would not be available "everywher" |
# |
Aug 7th 2008, 10:19 |
ammadsaleem |
then how to call it |
# |
Aug 7th 2008, 10:19 |
jonathan_ |
is |
# |
Aug 7th 2008, 10:19 |
jonathan_ |
well depending on what it |
# |
Aug 7th 2008, 10:19 |
gwoo |
that would only be available to controllers |
# |
Aug 7th 2008, 10:19 |
gwoo |
it wouldnt be |
# |
Aug 7th 2008, 10:19 |
gwoo |
jonathan_: no |
# |
Aug 7th 2008, 10:19 |
jonathan_ |
but that is bad practice (i think) |
# |
Aug 7th 2008, 10:18 |
jonathan_ |
@ammadsaleem: declare it in the appcontroller class |
# |
Aug 7th 2008, 10:18 |
gwoo |
ammadsaleem: what is the name of this function? |
# |
Aug 7th 2008, 10:18 |
gwoo |
after the first run its cached so its a lot faster |
# |
Aug 7th 2008, 10:18 |
ammadsaleem |
? |
# |
Aug 7th 2008, 10:18 |
ammadsaleem |
is it possible to create a function once and call it everywhere |