How about this?
$array = Hash::combine($array, '{n}Tag.name,{n}0.aantai,{n}');
On Fri, Mar 11, 2016 at 4:14 AM, Sam Clauw wrote:
> Hi 2 all,
>
> I'm working on my first CakePHP blog project: http://kattenbelletjes.be/
> As you can see, there's a footer section that shows the top 25 most
> popul
Hi 2 all,
I'm working on my first CakePHP blog project: http://kattenbelletjes.be/
As you can see, there's a footer section that shows the top 25 most popular
tags.
There are three relevant tables I use the implement those popular tags:
POSTS: id, title, content, slug
TAGS: id, name, slug
POST_
1) I would *not *avoid that. We use the protection and have no problem at
all with it.
2) Create a filter and use it in beforeSave()? Create data objects like the
entities in Cake and filter the date there before sending?
3) No idea what you're talking about, you basically say "It's not working