ConvertToFileTrait
Trait ConvertToFileTrait.
Trait to cast an input value to file.
Table of Contents
- fromArrayToFile() : bool
- Convert array to file.
- fromBooleanToFile() : bool
- Convert boolean to file.
- fromFileToFile() : bool
- Convert file to file.
- fromFloatToFile() : bool
- Convert float to file.
- fromHtmlToFile() : bool
- Convert HTML to file.
- fromImageToFile() : bool
- Convert image to file.
- fromIntegerToFile() : bool
- Convert integer to file.
- fromJsonToFile() : bool
- Convert JSON to file.
- fromTextToFile() : bool
- Convert text to file.
- fromUndefinedToFile() : null
- Convert undefined to file.
- fromXmlToFile() : bool
- Convert XML to file.
Methods
fromArrayToFile()
Convert array to file.
public
fromArrayToFile( $data) : bool
Parameters
Tags
Return values
bool —fromBooleanToFile()
Convert boolean to file.
public
fromBooleanToFile( $data) : bool
Parameters
Return values
bool —fromFileToFile()
Convert file to file.
public
fromFileToFile( $data) : bool
Parameters
Return values
bool —fromFloatToFile()
Convert float to file.
public
fromFloatToFile( $data) : bool
Parameters
Return values
bool —fromHtmlToFile()
Convert HTML to file.
public
fromHtmlToFile( $data) : bool
Parameters
Return values
bool —fromImageToFile()
Convert image to file.
public
fromImageToFile( $data) : bool
Parameters
Return values
bool —fromIntegerToFile()
Convert integer to file.
public
fromIntegerToFile( $data) : bool
Parameters
Return values
bool —fromJsonToFile()
Convert JSON to file.
public
fromJsonToFile( $data) : bool
Parameters
Return values
bool —fromTextToFile()
Convert text to file.
public
fromTextToFile( $data) : bool
Parameters
Return values
bool —fromUndefinedToFile()
Convert undefined to file.
public
fromUndefinedToFile( $data) : null
Parameters
Return values
null —fromXmlToFile()
Convert XML to file.
public
fromXmlToFile( $data) : bool