Marcação dos aquivos cakephp (.ctp) como php no sublime

Posted on by : admin Tags:

Marcação dos aquivos cakephp (.ctp) como php no sublime Basta mudar a Syntax no menu: View -> Syntax -> Open all current extension as -> PHP     Reference: https://stackoverflow.com/questions/26110464/make-sublime-text-work-with-cakephp-ctp-view-files

UpdateAll cakephp

Posted on by : admin Tags:

Como usar o UpdateAll do Cakephp versão 2.x PRIMEIRA SITUAÇÃO Para efetuar um update em várias linhas com um where como este update abaixo: Exemplo SQL: update resposta set status = ‘0’ where cod_pergunta = $cod_pergunta; Como eu faria istoRead More