Hi there,
ok I found this useful:
$form = RGFormsModel::get_form_meta('11'); // 11 is id of form
What happens if I call the above with an id, that does not exist? Will it just skip or throw an error?
AND: (this is only for possible performance reasons - not sure if that should be a consideration?)
instead of getting the whole form array with:
$form = RGFormsModel::get_form_meta('11'); // 11 is id of form
Is there a way to only get the ['cssClass'] part for each form only? That must be quicker I assume than getting always the whole form - especially if you have lets say 50 forms. That is a lot of information to get and keep somewhere.
Posted 12 years ago on Tuesday January 17, 2012 |
Permalink