Internal: Added some PHP Doc in MetaModel class

SVN:trunk[4734]
This commit is contained in:
Guillaume Lajarige
2017-05-15 12:42:14 +00:00
parent 237980097d
commit 17fbc504e2

View File

@@ -728,6 +728,14 @@ abstract class MetaModel
return (in_array($sAttCode, self::GetReconcKeys($sClass)));
}
/**
* Returns the AttributeDefinition of the $sAttCode attribute of the $sClass class
*
* @param string $sClass Class name
* @param string $sAttCode Attribute code
* @return AttributeDefinition
* @throws Exception
*/
final static public function GetAttributeDef($sClass, $sAttCode)
{
self::_check_subclass($sClass);