diff --git a/include/class_template.inc b/include/class_template.inc index 40798110fbf27a7edb7f229c2f59623d04826339..d6acc5d287ea7422645334a88fd64625bd7fd1df 100644 --- a/include/class_template.inc +++ b/include/class_template.inc @@ -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()