Character on code , very weird.
Good morning, appeared on my screen, a character who can not make out, already tried everything, but he insisted, the problem is that the variables hinders the ajax callback. I managed to get the characteristics of this character, as in the photo. I thank -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. <>
Caracter estranho no codigo
Bom dia , apareceu em minha tela , um caracter , que nao consigo fazer sair , ja tentei de tudo , mas ele insisti , o problema é que atrapalha nas variaveis de callback do ajax. Consegui pegar as caracteristicas desse caracter , como na foto. Agradeco -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. <>
Re: consoleShell & Sanitize class
Sanitizing too harshly, or the way Sanitize was used in general, was usually a bad way of doing things. See https://github.com/cakephp/docs/pull/688/files for details Basically, you just need to always use h() in your output and you got everything you need. ConsoleShell does not need a replacement. Its kinda silly to use it when you can have a whole PHPUnit test suite at your disposal. Just write a simple test. Even if its just temporary. But if it's not this will also save you the trouble from retyping it again and again. It was an overhead to maintain this shell as nobody really ever uses it. Am Dienstag, 13. August 2013 12:31:45 UTC+2 schrieb Jason Bramley: > > Hi, > > I see from the 2.4.0-rc1 release notes that these two items are deprecated > and will be removed in 3.x > > Two questions come to mind: > > 1) Why? > 2) What are the recommended replacements? > > Thanks > Jason > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: How can I get the number of week in the year
Try to use a 'W' parameter in yours timestamp object manipulations: PHP pure: echo date('W', strtotime('2013-08-13')); in CakePHP: // called via TimeHelper echo $this->Time->format('W', $timestamp); // called as CakeTime App::uses('CakeTime', 'Utility'); echo CakeTime::format($timestamp, 'W'); http://www.php.net/manual/en/function.date.php http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html 2013/8/12 Ian russel Adem > How can I get the number of week in the year of a given date? > Example: > Date = 12/22/1998 -> number of week = 52 > > i want to build a table that has 52 or 53 week for a year.this is a loan > database and has a batch number that is equal to one week,which start on > mondays.for example,monday to sunday is batch number 1,what is the correct > code so that in the next monday,the batch number will automatically > incremented to next week number?.. > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cake-php+unsubscr...@googlegroups.com. > To post to this group, send email to cake-php@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
consoleShell & Sanitize class
Hi, I see from the 2.4.0-rc1 release notes that these two items are deprecated and will be removed in 3.x Two questions come to mind: 1) Why? 2) What are the recommended replacements? Thanks Jason -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: 3.0: a peek into CakePHP's future
Hi, I'm new to this group and I've just read this whole thread. I've been happily working with CakePHP for two years. *My thumbs up for OO models!* I understand you don't have a release date for 3.0, but is there any "unofficial" estimate? Like will it come during this year? I just can't wait! Congratulations to the core devs on their excellent work! I know it's not the right thread, but: - Since I'm from Argentina but I perfectly understand English, I'd like to help with Spanish localizations. Where could I start? - Is there such thing as an official Argentinean CakePHP community? Cheers! On Thursday, August 8, 2013 5:39:44 AM UTC-3, Muhammad Arslan wrote: > > It will return both i.e arrays and objects. > > > On Friday, July 6, 2012 6:17:18 PM UTC+5, Marsson wrote: >> >> Does it mean Cake 3.0´s Model will return objects instead of arrays ? >> >> >> >> >> On Fri, Jul 6, 2012 at 6:33 AM, Kazik wrote: >> >>> >>> On Friday, July 6, 2012 4:36:03 AM UTC+2, José Lorenzo wrote: >>> - Model layer rewrite: - Models to return objects from queries - Datamapper-like paradigm - Richer query API - Support for any database type - Support for more database drivers both PDO and native The new model layer will be an exciting feature. But it also looks like >>> it is going to be very different from CakePHP 2. >>> >>> Is there going to be an update path for CakePHP 2 apps to CakePHP 3? >>> >>> >>> k >>> >>> -- >>> Our newest site for the community: CakePHP Video Tutorials >>> http://tv.cakephp.org >>> Check out the new CakePHP Questions site http://ask.cakephp.org and >>> help others with their CakePHP related questions. >>> >>> >>> To unsubscribe from this group, send email to >>> cake-php+u...@googlegroups.com For more options, visit this group at >>> http://groups.google.com/group/cake-php >>> >> >> -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
How can I get the number of week in the year
How can I get the number of week in the year of a given date? Example: Date = 12/22/1998 -> number of week = 52 i want to build a table that has 52 or 53 week for a year.this is a loan database and has a batch number that is equal to one week,which start on mondays.for example,monday to sunday is batch number 1,what is the correct code so that in the next monday,the batch number will automatically incremented to next week number?.. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
New Cake user from Eugene OR.
Greetings all, I am a new cakephp user located in Eugene OR. Actually while I have been developing desktop applications for 30+ years my web development is much much less. I am trying CakePHP now to see if it will meet my needs for a commercial website that I want to build. I have just put my toes into this water and have many questions, but truth be told I do not know enough to ask the right questions. I am trying to create the demo blog site for practice and so far had to learn a great deal by trial and error etc, I am not going to ask any significant questions yet, as I am trying to just jump in and learn to swim. However with all that said are there any cakephp developers in Oregon, and even better yet in the Eugene OR. area? Anthony -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.