Dave Rolsky > HTML-Mason-1.24 > HTML::Mason::Component::Subcomponent

Download:
HTML-Mason-1.24.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  5
View Bugs
Report a bug
Source   Latest Release: HTML-Mason-1.42

NAME ^

HTML::Mason::Component::Subcomponent - Mason Subcomponent Class

DESCRIPTION ^

This is a subclass of HTML::Mason::Component. Mason uses it to implement both subcomponents (defined by <%def>) and methods (defined by <%method>).

A subcomponent gets most of its properties from its owner.

METHODS ^

is_method

Returns 1 if this is a method (declared by <%method>), 0 if it is a subcomponent (defined by c<< <%def> >>).

owner

Return the component object that this subcomponent or method was defined within.

SEE ALSO ^

HTML::Mason::Component