Categories > TinyButStrong general >

can TBS LoadTemplate from object?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: thuc101
Date: 2006-07-06
Time: 05:44

can TBS LoadTemplate from object?

Hello,
tbs can LoadTemplate from object?
ex:
$TBS->LoadTemplate($myClass->myProperty);
thank you every body.
By: Skrol29
Date: 2006-07-06
Time: 13:17

Re: can TBS LoadTemplate from object?

You can do it but no by LoadTemplate.
Just do:
$TBS->Source = $myClass->myProperty;
$TBS->MergeField('onload');