public function add_script($script){
		if ( \is_object($this->obj) ){
			if ( !isset($this->obj->script) ){
				$this->obj->script = '';
			}
			$this->obj->script .= $script;
		}
		return $this;
	}
public function add_script($script){
		if ( \is_object($this->obj) ){
			if ( !isset($this->obj->script) ){
				$this->obj->script = '';
			}
			$this->obj->script .= $script;
		}
		return $this;
	}
public function add_script ( $ script ) { if ( \ is_object ( $ this -> obj ) ) { if ( ! isset ( $ this -> obj -> script ) ) { $ this -> obj -> script = '' ; } $ this -> obj -> script .= $ script ; } return $ this ; }
This will add the given string to the script property, and create it if needed. Chainable

@param string $script The javascript chain to add
@return $this
This will add the given string to the script property and create it if needed . Chainable