Keyword

Separate items by date into arrays

  • Wagner Anghinoni Nardin
  • Wagner Anghinoni Nardin's Avatar Topic Author
  • Offline
  • New Member
  • Web designer in Brazil, Joomla! and K2 intusiast.
More
7 years 6 months ago #160894 by Wagner Anghinoni Nardin
Separate items by date into arrays was created by Wagner Anghinoni Nardin
Hello!

How do I separate items by date, putting all items from each date into arrays?

Thank you!

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 6 months ago #160905 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Separate items by date into arrays
Hello Wagner,

I always use \Joomla\Utitlites\Arrayhelper::pivot() for such purpose.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #160959 by Krikor Boghossian
Replied by Krikor Boghossian on topic Separate items by date into arrays
Nice one Mohamed :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
7 years 6 months ago #160964 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Separate items by date into arrays
Thanks Krikor :)

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum