init() Delegate Class Method

Synopsis

This method is called once, just after the table is loaded for the first time. It allows you to specify initialization details, such as security filters.

Note that it takes a single parameter: a Dataface_Table object of the table that is being initialized.

Example

function init(&$table){

   ....
}

var disqus_identifier = ‘xataface.com/wiki/init’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘http://xataface.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })(); blog comments powered by Disqus

//<![CDATA[ (function() { var links = document.getElementsByTagName(‘a’); var query = ‘?’; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf(‘#disqus_thread’) >= 0) { query += ‘url’ + i + ‘=’ + encodeURIComponent(links[i].href) + ‘&’; } } document.write(‘