<?php

/**
 * Client side action call
 *
 * Returns Javascript code to be executed on event occurence..
 *
 * @version DR1.4
 */
class Behaviour implements IActionAdapter {



	protected $js;



	public function __construct($js = '') {
		$this->js = $js;
	}



	public function setJavascript($js) {
		$this->js = $js;
	}



	public function __toString() {
		return $this->js;
	}



} // class Behaviour

?>