2.5 convert
Converts the data passed into data that is compliant with the format used by the presentation module. All parameters in the subroutine will be used.
Parameters:
$kiriwrite_presmodule->convert(data, type);
Usage:
$kiriwrite_presmodule->convert();
data
Specifies the data to convert.
type
Specifies the type of data to convert.
Value |
Description |
content |
Specifies the data to convert is for content. |
link |
Specifies the data to convert is for a link. |
Bear in mind that while convert is not used by the main Kiriwrite script it can be used internally to convert text to be used in links and forms.