replaceOldBePaths() protected static method

Replace the old back end paths
protected static replaceOldBePaths ( string $strContext ) : string
$strContext string The context
return string The modified context
コード例 #1
0
ファイル: Ajax.php プロジェクト: contao/core-bundle
 /**
  * Convert a string to a response object
  *
  * @param string $str
  *
  * @return Response
  */
 protected function convertToResponse($str)
 {
     return new Response(\Controller::replaceOldBePaths($str));
 }