HTML::Mason::ComponentSource - represents information about an component


NAME

HTML::Mason::ComponentSource - represents information about an component


SYNOPSIS

    my $info = $resolver->get_info($comp_path);


DESCRIPTION

Mason uses the ComponentSource class to store information about a source component, one that has yet to be compiled.


METHODS

new
This method takes the following arguments:
comp_path
last_modified
comp_id
comp_class
friendly_name
extra
These are all simple accessors that return the value given to the constructor.

comp_source
Returns the source of the component.

object_code ( compiler => $compiler )
Given a compiler, this method returns the object code for the component.

HTML::Mason, HTML::Mason::Admin, HTML::Mason::Component

 HTML::Mason::ComponentSource - represents information about an component