소스 검색

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