# |
Sep 22nd 2011, 03:54 |
NetersLandreau |
ddoom: yes it is possible - http://book.cakephp.org/view/1395/options-multiple |
# |
Sep 22nd 2011, 03:51 |
NetersLandreau |
hi CSdread_ |
# |
Sep 22nd 2011, 03:51 |
cpgo |
$this->paginate['contain'] = array('Term', 'Department', 'Professor'); // it doesnt contain these |
# |
Sep 22nd 2011, 03:50 |
NetersLandreau |
lemme guess Section58, table joins? |
# |
Sep 22nd 2011, 03:50 |
cpgo |
in 2.0 |
# |
Sep 22nd 2011, 03:50 |
cpgo |
has the way contain in pagination calls changed? |
# |
Sep 22nd 2011, 03:41 |
friskd |
i am just doing a select * in the query and cake is auto rolling back |
# |
Sep 22nd 2011, 03:40 |
friskd |
if the query is successful |
# |
Sep 22nd 2011, 03:40 |
friskd |
What might cause $this->Query to auto rollback |
# |
Sep 22nd 2011, 03:40 |
friskd |
thanks NetersLandreau |
# |
Sep 22nd 2011, 03:40 |
friskd |
it was heredoc |
# |
Sep 22nd 2011, 03:34 |
ddoom |
is it possible to create a multiselect checkbox field using teh form helper? |
# |
Sep 22nd 2011, 03:09 |
Section58 |
*time |
# |
Sep 22nd 2011, 03:08 |
Section58 |
have i set some sort of passtie |
# |
Sep 22nd 2011, 03:07 |
CSdread_ |
hi NetersLandreau |
# |
Sep 22nd 2011, 03:06 |
Section58 |
hey NetersLandreau guess what query i am doing :) |
# |
Sep 22nd 2011, 03:06 |
Section58 |
ACTION stretches |
# |
Sep 22nd 2011, 03:03 |
NetersLandreau |
but looking at php docs, it will not work (the way you propose, anyway) "After this operator, an identifier is provided, then a newline".. still very ugly code |
# |
Sep 22nd 2011, 02:58 |
NetersLandreau |
heredoc for sql? i don't know if it would work or not, but it sure is BUTT-UGLY |
# |
Sep 22nd 2011, 02:48 |
friskd |
i'm refering in particular to the <<<MYSQL |
# |
Sep 22nd 2011, 02:44 |
friskd |
so that you don't have to escape etc... |
# |
Sep 22nd 2011, 02:44 |
friskd |
Has anyone ever used this : $this->Model->query( <<<MYSQL some sql query MYSQL): |
# |
Sep 22nd 2011, 02:12 |
markstory |
) |
# |
Sep 22nd 2011, 02:10 |
mdunham918_ |
2.0 is so much prettier than 1.3 |
# |
Sep 22nd 2011, 02:10 |
mdunham918_ |
i've through almost every line of source code in 1.3 and 2.0 pre rc1 |
# |
Sep 22nd 2011, 02:09 |
mdunham918_ |
its almost like jQuery on a html site to me |
# |
Sep 22nd 2011, 02:08 |
mdunham918_ |
yes, indeed they do. |
# |
Sep 22nd 2011, 02:08 |
mdunham918_ |
were talking about database apps on a html site no way but anything with a database backend i use cake its just too convenient you'll end up writing the same code over and over |
# |
Sep 22nd 2011, 02:08 |
markstory |
they always start small and grow into an insane mess. |
# |
Sep 22nd 2011, 02:08 |
markstory |
exactly :) |
# |
Sep 22nd 2011, 02:07 |
markstory |
But you can paint yourself in a corner quickly. |
# |
Sep 22nd 2011, 02:07 |
mdunham918_ |
which i know the projects always end up bigger than a "simple database app" |
# |
Sep 22nd 2011, 02:07 |
markstory |
that might be true. |
# |
Sep 22nd 2011, 02:07 |
mdunham918_ |
no they say for the projects they work out a few simple php files will do the trick don't need a huge framework |
# |
Sep 22nd 2011, 02:07 |
markstory |
*the |
# |
Sep 22nd 2011, 02:07 |
markstory |
But judging a framework by he number of files is not very smart though. |
# |
Sep 22nd 2011, 02:07 |
mdunham918_ |
the designer has the strongest opinion and the half designer is the follower of the loudest guy lol then theres me |
# |
Sep 22nd 2011, 02:06 |
markstory |
filez. |
# |
Sep 22nd 2011, 02:06 |
markstory |
Take a look at zf or symfony2 |
# |
Sep 22nd 2011, 02:06 |
mdunham918_ |
he's our designer |
# |
Sep 22nd 2011, 02:06 |
markstory |
they are crazy. |