Gennadiy Filatov

NAME

Salvation::Service::View::Stack::Frame - A result of column processing generated by view

REQUIRES

Moose

METHODS

id

 $frame -> id()

Frame ID. Unique per each frame list. Integer.

ftype

 $frame -> ftype()

A type of a frame. String.

In example, if a view's template had this:

 some_type => [
        'some_column'
 ]

then the ftype value for such frame is some_type.

fname

 $frame -> fname()

A name of a frame. String.

In example, if a view's template had this:

 some_type => [
        'some_column'
 ]

then the fname value for such frame is some_column.

cap

 $frame -> cap()

A caption of a frame. String.

As returned by a model, or autogenerated like this:

 sprintf(
        'FIELD_%s',
        $frame -> fname()
 )

data

 $frame -> data()

Frame content. A string, a Salvation::Service::View::Stack::Frame-derived object instance or an undef.

As returned by a model.

is_list

Boolean. Returns false.