src/ngrest/render/RenderCrud.php
public function i18nNgModelString($configContext, $attribute, $lang)
    {
        $context = $configContext == self::TYPE_LIST ? "item." : "data.{$configContext}.";
        return $context . $attribute.'[\''.$lang.'\']';
    }
public function i18nNgModelString($configContext, $attribute, $lang)
    {
        $context = $configContext == self::TYPE_LIST ? "item." : "data.{$configContext}.";
        return $context . $attribute.'[\''.$lang.'\']';
    }
public function i18nNgModelString ( $ configContext , $ attribute , $ lang ) { $ context = $ configContext == self :: TYPE_LIST ? "item." : "data.{$configContext}." ; return $ context . $ attribute . '[\'' . $ lang . '\']' ; }
Generate the ngrest model for an i18n field

@param string $configContext
@param string $attribute
@param string $lang
@return string
Generate the ngrest model for an i18n field