public static function getFieldsByContent( ezpContent $content )
    {
        $aReturnFields = array();
        foreach ( $content->fields as $name => $field )
        {
            $aReturnFields[$name] = self::attributeOutputData( $field );
        }

        return $aReturnFields;
    }
public static function getFieldsByContent( ezpContent $content )
    {
        $aReturnFields = array();
        foreach ( $content->fields as $name => $field )
        {
            $aReturnFields[$name] = self::attributeOutputData( $field );
        }

        return $aReturnFields;
    }
public static function getFieldsByContent ( ezpContent $ content ) { $ aReturnFields = array ( ) ; foreach ( $ content -> fields as $ name => $ field ) { $ aReturnFields [ $ name ] = self :: attributeOutputData ( $ field ) ; } return $ aReturnFields ; }
Returns all fields for provided content
@param ezpContent $content
@return array Associative array with following keys :
- type => Field type (datatype string)
- identifier => Attribute identifier
- value => String representation of field content
- id => Attribute numerical ID
- classattribute_id => Numerical class attribute ID
Returns all fields for provided content