web/UniView.php
public function startParent($addParentData = [])
    {
        if (!empty($this->_extendingParent[$this->processingViewFile])) {
            throw new InvalidParamException("Nested startParent() impossible in '{$this->processingViewFile}'");
        }
        $this->_extendingParent[$this->processingViewFile] = true;

        $this->_addParentData[$this->processingViewFile] = $addParentData;

        ob_start(); // for lost all non-block info between startParent...stopParent
        ob_implicit_flush(false);
    }
public function startParent($addParentData = [])
    {
        if (!empty($this->_extendingParent[$this->processingViewFile])) {
            throw new InvalidParamException("Nested startParent() impossible in '{$this->processingViewFile}'");
        }
        $this->_extendingParent[$this->processingViewFile] = true;

        $this->_addParentData[$this->processingViewFile] = $addParentData;

        ob_start(); // for lost all non-block info between startParent...stopParent
        ob_implicit_flush(false);
    }
public function startParent ( $ addParentData = [ ] ) { if ( ! empty ( $ this -> _extendingParent [ $ this -> processingViewFile ] ) ) { throw new InvalidParamException ( "Nested startParent() impossible in '{$this->processingViewFile}'" ) ; } $ this -> _extendingParent [ $ this -> processingViewFile ] = true ; $ this -> _addParentData [ $ this -> processingViewFile ] = $ addParentData ; ob_start ( ) ; // for lost all non-block info between startParent...stopParent ob_implicit_flush ( false ) ; }
Begin extend parent view file.
@param array $addParentData additional data from inherited view-file
Begin extend parent view file .