Share » Forums » Setup & design » Fetch the content of a Matrix and...

Fetch the content of a Matrix and display them

Fetch the content of a Matrix and display them

Thursday 30 November 2006 8:25:52 am - 1 reply

Author Message

Claudia Kosny

Saturday 02 December 2006 3:32:50 am

Hi OOzy

The content of an ezmatrix attribute is an object of type ezmatrix. Here you can see what attributes this object has: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/objects/ezmatrix

So if you matrix has only one column I think it should be sufficient to use
...data_map.dept_emp.content.cells. This should give you an array of all entries in the matrix. Then just loop over this array using foreach and you are done.

Claudia

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu