浏览代码

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 8 年之前
父节点
当前提交
850f9bc590
共有 1 个文件被更改,包括 8 次插入0 次删除
  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);