This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Fetch ezFlow block in a controller Ez5
expandshrink

Fetch ezFlow block in a controller Ez5

Fetch ezFlow block in a controller Ez5

Wednesday 25 June 2014 6:39:56 pm - 1 reply

Hi everyone, 

I'd like to know if there is a way to get an ezFlow content from a controller.

Here is an example of the content array that I have :

[id:protected] => ff6754559f6a3f2545935c38f3e06266
[name:protected] => 
[type:protected] => myType
[view:protected] => line
[overflowId:protected] => 
[customAttributes:protected] => Array ( [background] => 0 [hr_delimited] => 0 [hr_chevron] => 0 )
[action:protected] => 
[rotation:protected] => 
[zoneId:protected] => 184ea3e7e5d05f7890873bece68795cb
[items:protected] => Array ( )
[attributes] => Array ( )

Can you help me ? 

Thanks a lot

Modified on Wednesday 25 June 2014 6:49:00 pm by Jerome Guillemain

Wednesday 02 July 2014 2:05:22 am

Last time i had to get the content of a block we used a service provided by ez.

$blockItems = $this->get( 'ezpublish.fieldtype.ezpage.pageservice' )->getValidBlockItems( $block );

Its been a while since then though.
Would be nice, if you'd tell me if its still the same.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from