how to get eZSelectionType from eZContentClassAttribute ?

Author Message

Michal Slocinski

Wednesday 26 August 2009 3:19:04 pm

Hi,

I'd like to fetch all available selection options and display them in my custom component.

I've fetched eZContentClassAttribute using:

if ( $contentClass = eZContentClass::fetch( $classID ) )
{
  $contentClassAttributeList = $contentClass->fetchAttributeByIdentifier( $attributeID );
}

but I'm not sure how to get from here to eZSelectionType and later how to extract selection options from this class.

Any suggestions are welcome.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.