Explorar o código

Internal: Added some PHP Doc in MetaModel class

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4734 a333f486-631f-4898-b8df-5754b55c2be0
glajarige %!s(int64=8) %!d(string=hai) anos
pai
achega
850f9bc590
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      core/metamodel.class.php

+ 8 - 0
core/metamodel.class.php

@@ -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);