widgets/TbTabs.php
public function initEvents()
    {
        foreach (array('onShow', 'onShown') as $event) {
            if ($this->$event !== null) {
                $modalEvent = strtolower(substr($event, 2));
                if ($this->$event instanceof CJavaScriptExpression) {
                    $this->events[$modalEvent] = $this->$event;
                } else {
                    $this->events[$modalEvent] = new CJavaScriptExpression($this->$event);
                }
            }
        }
    }
public function initEvents()
    {
        foreach (array('onShow', 'onShown') as $event) {
            if ($this->$event !== null) {
                $modalEvent = strtolower(substr($event, 2));
                if ($this->$event instanceof CJavaScriptExpression) {
                    $this->events[$modalEvent] = $this->$event;
                } else {
                    $this->events[$modalEvent] = new CJavaScriptExpression($this->$event);
                }
            }
        }
    }
public function initEvents ( ) { foreach ( array ( 'onShow' , 'onShown' ) as $ event ) { if ( $ this -> $ event !== null ) { $ modalEvent = strtolower ( substr ( $ event , 2 ) ) ; if ( $ this -> $ event instanceof CJavaScriptExpression ) { $ this -> events [ $ modalEvent ] = $ this -> $ event ; } else { $ this -> events [ $ modalEvent ] = new CJavaScriptExpression ( $ this -> $ event ) ; } } } }
Initialize events if any
Initialize events if any