mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
📝 Some PHPDoc in ExternalKey field rendering
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user