PHP Classes

File: libs/Raptor/Component/systemBundle/Views/client/client.core.html.twig

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Raptor/Component/systemBundle/Views/client/client.core.html.twig   Download  
File: libs/Raptor/Component/systemBundle/Views/client/client.core.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change: Syntarsus Update
Date: 7 years ago
Size: 1,453 bytes
 

Contents

Class file image Download
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <script type="text/javascript"> /** * This is the Raptor Client Core Library */ BaseRaptor = function() { window.localStorage.setItem('rapLib', "{{ token }}"); } BaseRaptor.prototype = { constructor: BaseRaptor, getToken: function() { return window.localStorage.getItem('rapLib'); }, getFront: function() { return "{{ front }}"; }, getRoute: function(route) { return "{{ front }}"+route; }, getBundleResource: function(resource) { return "{{ bundle }}/" + resource; }, getTag: function(name) { var lang = {{ file|raw}}; return lang[name]; }, getLanguage: function() { return "{{ lang }}"; }, getUser:function(){ return "{{ user }}"; }, {{ plugin('core_library_inside')|raw }} } Raptor = new BaseRaptor(); {{ plugin('core_library_outside')|raw }} </script> {{ plugin('core_header')|raw }}