ink.
>
>
>
> On Thu, May 6, 2010 at 6:33 PM, leberle wrote:
> > Hi,
>
> > I'm looking for a generic way to re-format date-values i fetched from
> > mysqlso, the complete context:
>
> > We have a complex cake web-app using a mysql db. So, the default date
Hi,
I'm looking for a generic way to re-format date-values i fetched from
mysqlso, the complete context:
We have a complex cake web-app using a mysql db. So, the default date-
format returned by mysql is -mm-dd. This was fine for a long time.
Now our lovely marketing has decided that our
> ps ->paginate($somethingMaybeHuge); is IMO a really bad idea/negating
> the point of pagination
Hm, i'm not sure if i get you rightyou say that it may be a bad
idea just because the data passed maybe very large? Dont you have the
same problem if you call paginate with bad settings, e.g. limi
Hi dudes,
is there a way to paginate cached data? I wanna cache the result from
a $controller->paginate() request an use it the next time the page is
requested. But i've i bind the cached data for the view, i've the
problem that paginate() wasn't called so the paginate-helper functions
in the view
Solvedi defined a constructor in my model and forgot to call the
AppModel-constructor ^^
On 20 Nov., 14:38, leberle wrote:
> Hi dudes, i'm trying to use a self-written datasource and got some
> problems. i made my model use my datasource, now i get the error "Call
> t
Hi dudes, i'm trying to use a self-written datasource and got some
problems. i made my model use my datasource, now i get the error "Call
to a member function dispatchMethod() on a non-object in /var/www/
my_project/cake/libs/model/model.php on line 435" ...which is strange,
as my model has no beha
);
:)
On 21 Okt., 12:44, leberle wrote:
> Hi, i'm currently working on a cake-shell cron, and i got some trouble
> using one of the components from my App.
> I need to use a method from a component that is usally used in my
> Orders-Controller, i tried:
>
> ---
Hi, i'm currently working on a cake-shell cron, and i got some trouble
using one of the components from my App.
I need to use a method from a component that is usally used in my
Orders-Controller, i tried:
-
App::import('Component','OrderProcess');
class OrdersCronShell exte
hi all :) one simple (i guess) question: i'm using the inputs method
for creating several input-elements in my view. i want one field to be
a textarea, i used
$html->inputs(
[...bunchofotherinputs],
'mytextfield' => array('type' => 'textarea', 'cols' => 2),
[...]);
The ge
Thanks :)
@
> btw, your TRUE shouldn't be enclosed in an array, it should be "
> 'required' => true ".
well, i got confused by the warning:
preg_match() [function.preg-match]: Delimiter must not be alphanumeric
or backslash
when i dont had the "required" setting in an array, so i pushed it
into
Hi guys,
I've a confusing problem here:
my model:
--
class MenuStructure extends AppModel
{
var $validate = array('root_struct_id' => array('required' =>
array
(true)),
'parent_struct_id'
least a few can be irritating
> since they delete data for you if you are unlucky.
>
> /Martin
>
> On Oct 24, 9:38 am, leberle <[EMAIL PROTECTED]> wrote:
>
> > *push*
>
> > just wanna know if this is normal?
--~--~-~--~~~
*push*
just wanna know if this is normal?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
Hi guys,
I'm currently a little bit confused about cakes $model->find('first',
[...]) function...the problem:
$model->find('first', array('fields' => array('my_integer_field'),
'order' => 'id DESC'));
results in
SELECT TableNick.my_integer_field FROM my_table TableNick WHERE 1 = 1
ORDER BY my_
Ohpsthat explains it...thx for the info :)
On Oct 2, 2:15 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> The search feature in the book is broken and under
> repair:http://groups.google.com/group/cake-php/browse_thread/thread/18c4e419...
>
> On Oct
gt; There where many of your kind here before and they just wrote the same
> > as you and faded away... (you can search the group if you like)
>
> > --
> > Marcin Domanski
> >http://kabturek.info
>
> > On Thu, Oct 2, 2008 at 10:48 AM, leberle <[EMAIL PROTECTED]&g
Hey dudes,
I've been playing around with cake for some time now, and i really
like cake, its a brilliant framework.
But Cakes weakness is the documentation. There are so many features
that are not documented yetthis really has to change, undocumented
features are worthless features. Before ca
Solved:
$result = Set::extract('/Posts[author=pete][hidden=0]/.',
:)
note: this is not XPath conform...
On Sep 24, 1:31 pm, leberle <[EMAIL PROTECTED]> wrote:
> Hi dudes,
>
> I've a problem with Set::extract when using multiple filters. Lets say
> i have an
Hi dudes,
I've a problem with Set::extract when using multiple filters. Lets say
i have an array $my_posts which contains a bunch of nested newspost-
arrays, and now i want all posts from an author named "pete" which are
not hidden:
$result = Set::extract('/Posts[author=pete and hidden=0]/.',
$m
ce, vertical database is right choices.
>
> But, i just wanna know if anybody using vertical database on CakePHP.
> thanks for sharing ...
>
> On 9/22/08, leberle <[EMAIL PROTECTED]> wrote:
>
>
>
> > Sounds like a horrible ideaand bad DB design.
> > If y
Sounds like a horrible ideaand bad DB design.
If you have your DB in Boyce-Codd normal form, you will never have the
need for such a DB layout...
But let me know about your experience :)
On Sep 21, 7:23 pm, "Yodi Aditya" <[EMAIL PROTECTED]> wrote:
> I have reading about vertical database (co
Hi dudes,
I'm running into problems when trying to establish a hasMany relation
between two models using an orcale DB.
My models:
---
class MenuStructure extends AppModel
{
var $primaryKey = 'file_name';
var $useTable = 'menu_structure';
var $hasMany =
22 matches
Mail list logo