FormatInterface

Interface defining a format object

since

1.5.0

1.5.0

2.0.0

package

Joomla Framework

Methods

objectToString

Converts an object into a formatted string.

objectToString( object, mixed||string|int options = []) : 
since

1.5.0

2.0.0

Arguments

object

objectData Source Object.

options

array<string|int, mixed>An array of options for the formatter.

Response

stringFormatted string.

stringToObject

Converts a formatted string into an object.

stringToObject( data, mixed||string|int options = []) : 
since

1.5.0

Arguments

data

stringFormatted string

options

array<string|int, mixed>An array of options for the formatter.

Response

objectData Object