HTML::Mason::Component::SubcompUsertContributed Perl DocHTML::Mason::Component::Subcomponent(3pm)
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/method gets most of its properties from its owner. Note that the link from
the subcomponent to its owner is a weak reference (to prevent circular references), so if
you grab a subcomponent/method object, you should also grab and hold a reference to its
owner. If the owner goes out of scope, the subcomponent/method object will become
unusable.
METHODS
is_method
Returns 1 if this is a method (declared by "<%method>"), 0 if it is a subcomponent
(defined by c<< <%def> >>).
owner
Returns the component object within which this subcomponent or method was defined.
perl v5.30.2 2020-05-22 HTML::Mason::Component::Subcomponent(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-29 23:06 @216.73.216.105 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)