public function tinyMCEfile()
  {
    $reflector = new \ReflectionClass('Jin2\Form\Components\Wysiwyg');
    $tinyMCEUrl = dirname($reflector->getFileName());
    $tinyMCEUrl .= '..'
      . DIRECTORY_SEPARATOR .'..'
      . DIRECTORY_SEPARATOR .'..'
      . DIRECTORY_SEPARATOR .'..'
      . DIRECTORY_SEPARATOR .'assets'
      . DIRECTORY_SEPARATOR. 'wysiwyg';
    $tinyMCEUrl = preg_replace('#^.*(\\'. DIRECTORY_SEPARATOR .'vendor\\'. DIRECTORY_SEPARATOR .'.+)$#', '$1', $tinyMCEUrl);
    $tinyMCEUrl = str_replace(DIRECTORY_SEPARATOR, '/', $tinyMCEUrl);
    return $tinyMCEUrl . '/tinymce/tinymce.min.js';
  }
public function tinyMCEfile()
  {
    $reflector = new \ReflectionClass('Jin2\Form\Components\Wysiwyg');
    $tinyMCEUrl = dirname($reflector->getFileName());
    $tinyMCEUrl .= '..'
      . DIRECTORY_SEPARATOR .'..'
      . DIRECTORY_SEPARATOR .'..'
      . DIRECTORY_SEPARATOR .'..'
      . DIRECTORY_SEPARATOR .'assets'
      . DIRECTORY_SEPARATOR. 'wysiwyg';
    $tinyMCEUrl = preg_replace('#^.*(\\'. DIRECTORY_SEPARATOR .'vendor\\'. DIRECTORY_SEPARATOR .'.+)$#', '$1', $tinyMCEUrl);
    $tinyMCEUrl = str_replace(DIRECTORY_SEPARATOR, '/', $tinyMCEUrl);
    return $tinyMCEUrl . '/tinymce/tinymce.min.js';
  }
public function tinyMCEfile ( ) { $ reflector = new \ ReflectionClass ( 'Jin2\Form\Components\Wysiwyg' ) ; $ tinyMCEUrl = dirname ( $ reflector -> getFileName ( ) ) ; $ tinyMCEUrl .= '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . 'wysiwyg' ; $ tinyMCEUrl = preg_replace ( '#^.*(\\' . DIRECTORY_SEPARATOR . 'vendor\\' . DIRECTORY_SEPARATOR . '.+)$#' , '$1' , $ tinyMCEUrl ) ; $ tinyMCEUrl = str_replace ( DIRECTORY_SEPARATOR , '/' , $ tinyMCEUrl ) ; return $ tinyMCEUrl . '/tinymce/tinymce.min.js' ; }
Retourne l'url de TinyMCE

@return string
Retourne l url de TinyMCE