writeAttributes() writeAttributes( $attributes) Simple method that sets attributes from specified array Parameters $attributes