NAME

Salvation::Service::View::Stack::Frame::List - A list of a frames

REQUIRES

Moose

DESCRIPTION

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.

Subclass of

Salvation::Service::View::Stack::Frame

METHODS

is_list

Boolean. Returns true.

cap

Is not set, so is undef.

ftype

Is not set, so is undef.

data

$list -> data()

Returns an ArrrayRef of Salvation::Service::View::Stack::Frame-derived object instances.

add

$list -> add( @list );

Adds frames to the list. Each element of the @list should be a Salvation::Service::View::Stack::Frame-derived object instance.

Changes IDs of the frames being added.

data_by_id

$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.

data_by_name

$list -> data_by_name( $fname );

Find frames which fname matches $fname.

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.

data_by_type

$list -> data_by_type( $ftype );

Find frames which ftype matches $ftype.

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.

wipe_data

$list -> wipe_data();

Clears current frame list.