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;
    }
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;
    }
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 ; }
Build html control

@param array $propOverride properties to override

@return string
Build html control