Exemple #1
0
 public static function populateJsGlobalTaskTypeUpdateURI()
 {
     // jeffery way's package for moving php variables to the .js space.
     // see https://github.com/laracasts/PHP-Vars-To-Js-Transformer.
     // also see javascript.php in the config dir for view and .js namespace used.
     \JavaScript::put(['taskTypeUpdateURI' => appGlobals::getTaskTypeUpdateURI(), 'update' => self::$update, 'taskTypeURI' => url("/") . "/" . self::$taskTypeURI]);
 }