📝 Some PHPDoc in ExternalKey field rendering

This commit is contained in:
Pierre Goiffon
2019-08-22 11:01:43 +02:00
parent 97e58c2d79
commit 08517f0c7e
2 changed files with 5 additions and 2 deletions

View File

@@ -1404,7 +1404,7 @@ abstract class MetaModel
* @param string $sClass Class name
* @param string $sAttCode Attribute code
*
* @return AttributeDefinition the AttributeDefinition of the $sAttCode attribute of the $sClass class
* @return \AttributeDefinition the AttributeDefinition of the $sAttCode attribute of the $sClass class
* @throws Exception
*/
final static public function GetAttributeDef($sClass, $sAttCode)
@@ -2696,6 +2696,7 @@ abstract class MetaModel
*/
public static function GetAllowedValuesAsObjectSet($sClass, $sAttCode, $aArgs = array(), $sContains = '', $iAdditionalValue = null)
{
/** @var \AttributeExternalKey $oAttDef */
$oAttDef = self::GetAttributeDef($sClass, $sAttCode);
return $oAttDef->GetAllowedValuesAsObjectSet($aArgs, $sContains, $iAdditionalValue);
}

View File

@@ -19,8 +19,8 @@
namespace Combodo\iTop\Renderer;
use Dict;
use Combodo\iTop\Form\Field\Field;
use Dict;
/**
* Description of FieldRenderer
@@ -29,7 +29,9 @@ use Combodo\iTop\Form\Field\Field;
*/
abstract class FieldRenderer
{
/** @var \Combodo\iTop\Form\Field\Field */
protected $oField;
/** @var string */
protected $sEndpoint;
/**