Forums / Developer / how to get eZSelectionType from eZContentClassAttribute ?
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.