original_string: public function build($propOverride = array())
      {
          $this->debug->info(__METHOD__, $this->attribs['name']);
          if ($propOverride == 'tagOnly') {
              $propOverride = array('tagOnly' => true);
          } elseif (!\is_array($propOverride)) {
              $this->debug->warn('invalid propOverride', $propOverride, 'expect array or "tagOnly"');
              $propOverride = array();
          }
          if ($propOverride) {
              $this->props = $this->mergeProps(array(
                  $this->props,
                  $propOverride,
              ));
          }
          $return = $this->buildControl->build($this);
          return $return;
      }
code: public function build($propOverride = array())
      {
          $this->debug->info(__METHOD__, $this->attribs['name']);
          if ($propOverride == 'tagOnly') {
              $propOverride = array('tagOnly' => true);
          } elseif (!\is_array($propOverride)) {
              $this->debug->warn('invalid propOverride', $propOverride, 'expect array or "tagOnly"');
              $propOverride = array();
          }
          if ($propOverride) {
              $this->props = $this->mergeProps(array(
                  $this->props,
                  $propOverride,
              ));
          }
          $return = $this->buildControl->build($this);
          return $return;
      }
code_tokens: public function build ( $ propOverride = array ( ) ) { $ this -> debug -> info ( __METHOD__ , $ this -> attribs [ 'name' ] ) ; if ( $ propOverride == 'tagOnly' ) { $ propOverride = array ( 'tagOnly' => true ) ; } elseif ( ! \ is_array ( $ propOverride ) ) { $ this -> debug -> warn ( 'invalid propOverride' , $ propOverride , 'expect array or "tagOnly"' ) ; $ propOverride = array ( ) ; } if ( $ propOverride ) { $ this -> props = $ this -> mergeProps ( array ( $ this -> props , $ propOverride , ) ) ; } $ return = $ this -> buildControl -> build ( $ this ) ; return $ return ; }
docstring: Build html control
  
  @param array $propOverride properties to override
  
  @return string
docstring_tokens: Build html control