Location: PHPKode > projects > XMLNuke Web Development Framework XML > xmlnuke-php5-v3.5r356/xmlnuke-php5/lib/xmlnuke/samples/sample.class.php
<?php
class Sample
{
	private $_context;
	
	public function __construct($context)
	{
		$this->_context = $context;	
	}
	
	public function getScriptName()
	{
		return basename($this->_context->ContextValue("SCRIPT_NAME"));
	}
	
	public function getVersion()
	{
		return $this->_context->XmlNukeVersion();
	}
	
}
Return current item: XMLNuke Web Development Framework XML