Ok, auto correct messed that up.
Custom finder methods like this one on the related table don't work either:
public function findSome(Query $query, array $options) {
}
when calling:
>From inside the Table class:
$this->Related->find('some');
The finder method itself works when called like t
un
--
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+u
The CakePHP core team is happy to announce the immediate availability of
2.4.9[1]. This releases contain a bug fix related to the security fix in
2.4.8. A short list of changes you can expect in 2.4.9 are:
* FormHelper::postLink() now works correctly with SecurityComponent. In
2.4.8 a mistake w
Quite a few ways to go around it, for example you can create something like
this in your Site model (or even App Model if using $this->alias)
public function belongsToUser($siteId = null, $userId = null) {
$site = $this->find('count', array(
'conditions' => array(
'Site.id'
*I have started to play around with *3.0. *I have taken one of our models from
*2.x *and **moving to *3.0 *for **practice **and **testing*. *I have come
across **and **issue when calling a Model*/*Table **and **attempting to
**include **an hasMany association*. *But*, *even though I **use *
Calling custom functions should work, if it does not it is either a bug or
a configuration error on your side
On Tuesday, April 29, 2014 10:38:10 PM UTC+2, Thomas von Hassel wrote:
>
> aah, yes when i tried using customer finders it worked, but not calling
> arbitrary functions that are defined
aah, yes when i tried using customer finders it worked, but not calling
arbitrary functions that are defined in the Table object.
I guess the right way is to use custom finders for everything then ?
/thomas
On 29 Apr 2014, at 22:06, José Lorenzo wrote:
> You can do exactly the same in cake 3
You can do exactly the same in cake 3
On Tuesday, April 29, 2014 9:21:18 PM UTC+2, Thomas von Hassel wrote:
>
> Hey
>
> In 2.x when in a Model class you could do something like
>
> $this->RelatedModel->find(‘all’);
>
>
> What’s the “right” way to access related tables in a Table class ?
>
>
>
Hi there,
I'm working on a traffic exchange site and since I'm very new I used this
login script :
http://miftyisbored.com/a-complete-login-and-authentication-application-tutorial-for-cakephp-2-3/
Everything works nicely. Based on that code I created a few pages ( Add
site, List sites, delete s
Hey
In 2.x when in a Model class you could do something like
$this->RelatedModel->find('all');
What's the "right" way to access related tables in a Table class ?
/thomas
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received
It is probably worth adding to 2.6.
Am Dienstag, 29. April 2014 13:50:34 UTC+2 schrieb Thomas von Hassel:
>
> Would you add this to 2.x or should i just do it for 3.x ?
>
> /thomas
>
> On 28 Apr 2014, at 20:10, José Lorenzo >
> wrote:
>
> In theory you can use whatever text type and cake will st
Would you add this to 2.x or should i just do it for 3.x ?
/thomas
On 28 Apr 2014, at 20:10, José Lorenzo wrote:
> In theory you can use whatever text type and cake will still work with it.
> The problem is at generating tables from fixtures, we don't support that type
> of column. Adding sup
does anyone want to give me a quote for building me a scrape to get the
data from a website please??
--
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" gr
Is it possible to trace the requested url in all errors on error.log?
I have a website and occasionally see the error.log. Sometimes I get :
2014-04-23 14:50:07 Error: [MissingControllerException] Controller class
> Apple-touch-icon-precomposed.png
> Controller could not be found.
> Exception A
yep :)
2014-04-29 0:07 GMT+02:00 euromark :
> See - already fixed after not even 1 hour :)
>
> Am Montag, 28. April 2014 22:35:02 UTC+2 schrieb bato:
>
>> I opened an issue https://github.com/cakephp/cakephp/issues/3410
>>
>> Il giorno lunedì 28 aprile 2014 18:46:28 UTC+2, euromark ha scritto:
>
15 matches
Mail list logo