kernel/classes/ezpersistentobject.php
public function attributes()
    {
        $def = $this->definition();
        $attrs = array_keys( $def["fields"] );
        if ( isset( $def["function_attributes"] ) )
            $attrs = array_unique( array_merge( $attrs, array_keys( $def["function_attributes"] ) ) );
        if ( isset( $def["functions"] ) )
            $attrs = array_unique( array_merge( $attrs, array_keys( $def["functions"] ) ) );
        return $attrs;
    }
public function attributes()
    {
        $def = $this->definition();
        $attrs = array_keys( $def["fields"] );
        if ( isset( $def["function_attributes"] ) )
            $attrs = array_unique( array_merge( $attrs, array_keys( $def["function_attributes"] ) ) );
        if ( isset( $def["functions"] ) )
            $attrs = array_unique( array_merge( $attrs, array_keys( $def["functions"] ) ) );
        return $attrs;
    }
public function attributes ( ) { $ def = $ this -> definition ( ) ; $ attrs = array_keys ( $ def [ "fields" ] ) ; if ( isset ( $ def [ "function_attributes" ] ) ) $ attrs = array_unique ( array_merge ( $ attrs , array_keys ( $ def [ "function_attributes" ] ) ) ) ; if ( isset ( $ def [ "functions" ] ) ) $ attrs = array_unique ( array_merge ( $ attrs , array_keys ( $ def [ "functions" ] ) ) ) ; return $ attrs ; }
Returns the attributes for this object, taken from the definition fields
and function attributes.

@see eZPersistentObject::definition()

@return array
Returns the attributes for this object taken from the definition fields and function attributes .