Precisions for List Templates...

Incremental

Member
Hi,
I'm trying to custom my List Template and would like some precisions about the Wiki :
http://fabrikar.com/forums/index.php?wiki/creating-a-custom-list-template/

The Wiki tell that each row has a standard set of properties: stdClass Object ( )
Is this structure complete ?

What are differences between 'slug' and '__pk_val' ?
Is '__pk_val' the Primary key ?
In my template, I would like to have the equivalent of {rowid}.
do I have to use '$this->_row->data->__pk_val' or there is a better way ?
Thanks for help
 
hi
What are differences between 'slug' and '__pk_val' ?
__pk_val is the primary key value.
The slug is a combination of the row id and the data filled in, in the list's "sef slug's" element.

do I have to use '$this->_row->data->__pk_val' or there is a better way ?
That's fine to use
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top