Re: CakePHP 2 v CakePHP 3 SQL

2015-03-24 Thread Dave Edwards
Thanks for the reply, That being the case, I am pleasantly surprised that despite the documentation making a big play on how different the new ORM is, I can (if I choose) create my queries in much the same way. The example I posted was a effectively a find 'all' (paginated using a limit clause

Re: CakePHP 2 v CakePHP 3 SQL

2015-03-24 Thread José Lorenzo
This is probably going to be a surprise for you. This is the equivalent code in CakePHP 3 public function archived($id = null) { $options = array( 'limit' => 10, 'order' => ['Trailers.number' => 'ASC'], 'fields' => array('id', 'trailer_id', 'lessee_id', 'da

Need Recommendations...please!

2015-03-24 Thread April DeRossett
Greetings! I need a little help...and, I know if there is a way, this is the group to point the direction. I have an application written in cake 2.3.x that handles booking and scheduling of appointments. I am currently using FullCalendar http://fullcalendar.io/ and things look as so...

CakePHP 2 v CakePHP 3 SQL

2015-03-24 Thread Dave Edwards
Here is a sample of some code I use in a Trailer rental application. This is a method from the Rental Controller. Rental hasMany Trailers and hasMany Lessees public function archived($id = null) { $options = array( 'limit' => 10, 'order' => 'Trailer.number ASC',

inputs generated with jquery dissapear

2015-03-24 Thread German Martinez solis
hello everyone greets from mexico , i have a question , why when i add an input via jquery into a cakephp form disappear if i had an validation error, sorry for my bad english -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You recei