classes/Events/API/Event.php
public function resize($params) {
		//update the event
		$this->end_timestamp = $params['new_end_timestamp'];
		$this->end_date = $params['new_end_date'];
		$this->end_time = $params['new_end_time'];
		$this->end_delta = $params['new_end_timestamp'] - $this->getStartTimestamp(); // how long this is in seconds

		$this->repeat_end_timestamp = $this->calculateRepeatEndTimestamp();
		return true;
	}
public function resize($params) {
		//update the event
		$this->end_timestamp = $params['new_end_timestamp'];
		$this->end_date = $params['new_end_date'];
		$this->end_time = $params['new_end_time'];
		$this->end_delta = $params['new_end_timestamp'] - $this->getStartTimestamp(); // how long this is in seconds

		$this->repeat_end_timestamp = $this->calculateRepeatEndTimestamp();
		return true;
	}
public function resize ( $ params ) { //update the event $ this -> end_timestamp = $ params [ 'new_end_timestamp' ] ; $ this -> end_date = $ params [ 'new_end_date' ] ; $ this -> end_time = $ params [ 'new_end_time' ] ; $ this -> end_delta = $ params [ 'new_end_timestamp' ] - $ this -> getStartTimestamp ( ) ; // how long this is in seconds $ this -> repeat_end_timestamp = $ this -> calculateRepeatEndTimestamp ( ) ; return true ; }
Extends event duration

@param array $params New end parameters
@return boolean
Extends event duration