Salvation::Service::View::Stack::Frame::List - A list of a frames
Moose
In example, if a view's template has this:
some_type => [ 'some_column' ]
then the view will generate Salvation::Service::View::Stack::Frame::List object instance with fname equal to some_type containing an array of one element which is Salvation::Service::View::Stack::Frame object instance with fname equal to some_column and ftype equal to some_type.
fname
some_type
Salvation::Service::View::Stack::Frame
some_column
ftype
Boolean. Returns true.
Is not set, so is undef.
undef
$list -> data()
Returns an ArrrayRef of Salvation::Service::View::Stack::Frame-derived object instances.
$list -> add( @list );
Adds frames to the list. Each element of the @list should be a Salvation::Service::View::Stack::Frame-derived object instance.
@list
Changes IDs of the frames being added.
$list -> data_by_id( $integer ); $list -> data_by_id( \@integers );
Find frames by IDs.
In scalar context returns an ArrayRef of Salvation::Service::View::Stack::Frame-derived object instances.
In list context returns an array of Salvation::Service::View::Stack::Frame-derived object instances.
$list -> data_by_name( $fname );
Find frames which fname matches $fname.
$fname
$list -> data_by_type( $ftype );
Find frames which ftype matches $ftype.
$ftype
$list -> wipe_data();
Clears current frame list.
To install Salvation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Salvation
CPAN shell
perl -MCPAN -e shell install Salvation
For more information on module installation, please visit the detailed CPAN module installation guide.