Ejemplo n.º 1
0
 /**
  * Path completo do script do ckeditor
  * @return string
  */
 public static function getPathCkeditorJS($onlyPath = false)
 {
     $path = \PWork\Util\Helper::urlByPath(self::getPathCkeditor()) . DIRECTORY_SEPARATOR . 'ckeditor.js';
     $file = '<script src="' . $path . '"></script>';
     if ($onlyPath) {
         $file = $path;
     }
     return $file;
 }