se a tabela possui chave primaria no modelo declare
var $primary = "nomeCampo";
assim, será a chave primária, caso seja composta, utilize array
var $primary = array("Campo1","Campo2");
Em 5 de janeiro de 2012 16:14, Filippi Rizzi escreveu:
> Olá! Trabalho com o cake a alguns anos, e sempre u
use jaspter reports with PHP to generate document files
2012/1/3 euromark
> @roundrightfarm
> I dont think such a helper is part of the core, though :)
>
>
> On 3 Jan., 17:25, "Yves S. Garret" wrote:
> > That sounds interesting, but will it work with my requirement of having
> the
> > header an
if they have the absolute path, use const WEBROOT_DIR
2012/1/2 Tilen Majerle
> he is probably need absolute path for webroot, not browser :)
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2012/1/2 Laerte M. Rodrigues
>
>> I use Cakephp 2.0
I use Cakephp 2.0 and the static method Helper::url('/') return the URL
from WebRoot
2012/1/2 清水紘己
> >Laerte M. Rodrigues
> You meant Router::url(), right?
>
> It will return proper value through web, but not in cli at edge cases.
> Recommended way is manually t
use Helper::url('/')
2012/1/2 byqsri
> Hi
> I would ask how can I access to "$this->webroot" controller's variable
> from a model?
> Many Thanks
> Marco
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://a
verify if the rewrite_module is enabled in your apache server
2012/1/1 Wanted
> Believe me I have done Everything according to the tutorialsin
> my case its http://localhost/cakephp1.3/
>
> and Everything is green in the end
>
> but when I goto http://localhost/cakephp1.3/posts it