NAME
IWL::Comment - a simple comment object
INHERITANCE
IWL::Object -> IWL::Text
DESCRIPTION
The Comment object produces html style comments
CONSTRUCTOR
IWL::Comment->new ([CONTENT])
Where CONTENT is an optional parameter that holds the contents of the comment object.
METHODS
- appendContent (CONTENT)
-
Appends more text to the current context.
Parameter: CONTENT - the text to be appended
- prependContent (CONTENT)
-
Prepends more text to the current context.
Parameter: CONTENT - the text to be prepended
- setContent (CONTENT)
-
Sets CONTENT as the current context.
Parameter: CONTENT - the text to be set
- setConditional (EXPR, CONTENT)
-
Sets a conditional comment
Parameters: EXPR - the conditional expression, without the [if ] (ex: lt IE 7 expands to [if lt IE 7]). The [endif] part will be placed automatically, CONTENT - the comment content
- setConditionalData (EXPR, OBJECT)
-
Sets a conditional comment with IWL objects
Parameters: EXPR - the conditional expression, without the [if ] (ex: lt IE 7 expands to [if lt IE 7]). The [endif] part will be placed automatically, OBJECT - IWL::Objects(3pm)
LICENCE AND COPYRIGHT
Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 144:
You forgot a '=back' before '=head1'