Question
$t->append( )
Answer
$t->append( )
$t->prepend("Text in the footer");
Description #
This is a function generated by the interaction builder Append will add any text or HTML in the Footer field of the interaction builder after the result returned in $t. Often used to create a page footer this function can also be used to display multiple results as well as seen in the example below.
Parameters #
A String
Return values#
Returns source before $t->result
Examples #
$t->fetch("[http://blinkmobile.com.au/index.php/meet-the-team/board-members");]
$t->rows(
"|
{NAME}
~*{DESCRIPTION}
{NAME}
{DESCRIPTION}
);
$t->resolveurls();
$directors = $t->result;
$t->fetch("[http://blinkmobile.com.au/index.php/meet-the-team/staff");]
$t->rows(
"|~*
{NAME}
~*{DESCRIPTION}
{NAME}
{DESCRIPTION}
);
$t->resolveurls();
$t->append($directors);
return $t->result;