PHP Classes

File: framework/js/mvc.append.controller.getstate.js

Recommend this page to a friend!
  Classes of Saro Carvello   PHP Web MVC Framework   framework/js/mvc.append.controller.getstate.js   Download  
File: framework/js/mvc.append.controller.getstate.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Web MVC Framework
MVC framework providing autogenerated MySQL models
Author: By
Last change: Update with call_back, data-url, data-expired
Date: 6 months ago
Size: 1,306 bytes
 

Contents

Class file image Download
// Begins assignment of observer observer_manager{id} var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = "text/javascript"; script.src = "{JSFRAMEWORK}mvc.controller.getstate.js"; script.id = "observer_manager{id}"; polling = document.createAttribute("data-polling"); polling.value ="{polling_interval}"; script.setAttributeNode(polling); content = document.createAttribute("data-objectContent"); content.value ="{content_check}"; script.setAttributeNode(content); postdata = document.createAttribute("data-post"); postdata.value ="{serialized_post}"; script.setAttributeNode(postdata); alertdata = document.createAttribute("data-alert"); alertdata.value ="{alert_flag}"; script.setAttributeNode(alertdata); call_back = document.createAttribute("data-call-back"); call_back.value ="{call_back}"; script.setAttributeNode(call_back); urldata = document.createAttribute("data-url"); urldata.value ="{GLOBAL:SITEURL}"; script.setAttributeNode(urldata); expiredMessage = document.createAttribute("data-expired-message"); expiredMessage.value ="{content_expired_message}"; script.setAttributeNode(expiredMessage); head.appendChild(script); // Ends assignment of observer observer_manager{id} var serverOSEncoding = "{SERVER_OS_ENCODING}";