protected function storagePath()
    {
        if (\Yii::$app->controller != $this) {
            return false;
        }
        return $this->_storagePath
            ? $this->_storagePath
            : $this->_storagePath 
                = str_replace('@app/web', '', $this->findModel(Yii::$app->request->get('id'))->getStoragePath());
    }
protected function storagePath()
    {
        if (\Yii::$app->controller != $this) {
            return false;
        }
        return $this->_storagePath
            ? $this->_storagePath
            : $this->_storagePath 
                = str_replace('@app/web', '', $this->findModel(Yii::$app->request->get('id'))->getStoragePath());
    }
protected function storagePath ( ) { if ( \ Yii :: $ app -> controller != $ this ) { return false ; } return $ this -> _storagePath ? $ this -> _storagePath : $ this -> _storagePath = str_replace ( '@app/web' , '' , $ this -> findModel ( Yii :: $ app -> request -> get ( 'id' ) ) -> getStoragePath ( ) ) ; }
Gets path to model uploaded files.
@return string path to model uploaded files.
@throws NotFoundHttpException
Gets path to model uploaded files .