Esempio n. 1
0
 /**
  * Method to get the id used for the field input tag.
  *
  * @param    string    $fieldId      The field element id.
  * @param    string    $fieldName    The field element name.
  *
  * @return    string    The id to be used for the field input tag.
  * @since    1.6
  */
 public function getId($fieldId, $fieldName)
 {
     /** @var $namehandler RokCommon_Form_IItemNameHandler */
     $namehandler = $this->form->getNamehandler();
     if (is_null($namehandler)) {
         $namehandler = $this->container->getService('form.namehandler');
     }
     return $namehandler->getId($fieldName, $fieldId, $this->group, $this->formControl, $this->multiple);
 }