Commit 69d37e83 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

feat(template) Allow access to template attributes

Used in public-form

issue #5903
parent a90955eb
......@@ -171,6 +171,11 @@ class template
}
}
function getAttribute($tab, $attr)
{
return $this->tabObject->by_object[$tab]->attributesAccess[$attr];
}
/*! \brief Serialize this template for webservice
*/
function serialize()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment