original_string: protected function makeElement(array $options, $html)
      {
          if (isset($options['type']) && $options['type'] == 'hidden') return $html;
  
          if (!empty($options['before-input'])) $html =  $options['before-input'].$html;
          $html = $this->getLabel($options).$html;
          if (!empty($options['after-input']))  $html .=  $options['after-input'];
          $html .= $this->html->getDivError($options);
          $html = $this->html->getFormGroup($options, $html);
  
          if (!empty($options['script'])) $this->appendScript($options['script']);
          if (!empty($options['mask'])) $this->appendScript($this->html->getMaskScript($options));
  
          return $this->html->getGrid($options, $html);
      }
code: protected function makeElement(array $options, $html)
      {
          if (isset($options['type']) && $options['type'] == 'hidden') return $html;
  
          if (!empty($options['before-input'])) $html =  $options['before-input'].$html;
          $html = $this->getLabel($options).$html;
          if (!empty($options['after-input']))  $html .=  $options['after-input'];
          $html .= $this->html->getDivError($options);
          $html = $this->html->getFormGroup($options, $html);
  
          if (!empty($options['script'])) $this->appendScript($options['script']);
          if (!empty($options['mask'])) $this->appendScript($this->html->getMaskScript($options));
  
          return $this->html->getGrid($options, $html);
      }
code_tokens: protected function makeElement ( array $ options , $ html ) { if ( isset ( $ options [ 'type' ] ) && $ options [ 'type' ] == 'hidden' ) return $ html ; if ( ! empty ( $ options [ 'before-input' ] ) ) $ html = $ options [ 'before-input' ] . $ html ; $ html = $ this -> getLabel ( $ options ) . $ html ; if ( ! empty ( $ options [ 'after-input' ] ) ) $ html .= $ options [ 'after-input' ] ; $ html .= $ this -> html -> getDivError ( $ options ) ; $ html = $ this -> html -> getFormGroup ( $ options , $ html ) ; if ( ! empty ( $ options [ 'script' ] ) ) $ this -> appendScript ( $ options [ 'script' ] ) ; if ( ! empty ( $ options [ 'mask' ] ) ) $ this -> appendScript ( $ this -> html -> getMaskScript ( $ options ) ) ; return $ this -> html -> getGrid ( $ options , $ html ) ; }
docstring: Make an Element
  @param array $options
  @param $html
  @return string
docstring_tokens: Make an Element