original_string: public static function getFilePickerCallback($url, $popupSettings = [], $view = null)
      {
          $default = [
              'title' => 'elFinder',
              'width' => 900,
              'height' => 500,
          ];
  
          $settings = array_merge($default, $popupSettings);
          $settings['file'] = Url::to($url);
  
          $encodedSettings = Json::htmlEncode($settings);
  
          if ($view === null) {
              $view = Yii::$app->view;
          }
          HelperAsset::register($view);
  
          return new JsExpression("alexantr.elFinder.filePickerCallback($encodedSettings)");
      }
code: public static function getFilePickerCallback($url, $popupSettings = [], $view = null)
      {
          $default = [
              'title' => 'elFinder',
              'width' => 900,
              'height' => 500,
          ];
  
          $settings = array_merge($default, $popupSettings);
          $settings['file'] = Url::to($url);
  
          $encodedSettings = Json::htmlEncode($settings);
  
          if ($view === null) {
              $view = Yii::$app->view;
          }
          HelperAsset::register($view);
  
          return new JsExpression("alexantr.elFinder.filePickerCallback($encodedSettings)");
      }
code_tokens: public static function getFilePickerCallback ( $ url , $ popupSettings = [ ] , $ view = null ) { $ default = [ 'title' => 'elFinder' , 'width' => 900 , 'height' => 500 , ] ; $ settings = array_merge ( $ default , $ popupSettings ) ; $ settings [ 'file' ] = Url :: to ( $ url ) ; $ encodedSettings = Json :: htmlEncode ( $ settings ) ; if ( $ view === null ) { $ view = Yii :: $ app -> view ; } HelperAsset :: register ( $ view ) ; return new JsExpression ( "alexantr.elFinder.filePickerCallback($encodedSettings)" ) ; }
docstring: Callback for TinyMCE 4 file_picker_callback
  @param array|string $url Url to TinyMCEAction
  @param array $popupSettings TinyMCE popup settings
  @param \yii\web\View|null $view
  @return JsExpression
docstring_tokens: Callback for TinyMCE 4 file_picker_callback