protected function get_data_to_serialize() {
		return array(
			'recipient'    => $this->recipient->ID,
			'message'      => $this->message,
			'subject'      => $this->subject,
			'strategy'     => $this->strategy,
			'manager'      => $this->manager->get_type(),
			'data_sources' => $this->data_sources
		);
	}
protected function get_data_to_serialize() {
		return array(
			'recipient'    => $this->recipient->ID,
			'message'      => $this->message,
			'subject'      => $this->subject,
			'strategy'     => $this->strategy,
			'manager'      => $this->manager->get_type(),
			'data_sources' => $this->data_sources
		);
	}
protected function get_data_to_serialize ( ) { return array ( 'recipient' => $ this -> recipient -> ID , 'message' => $ this -> message , 'subject' => $ this -> subject , 'strategy' => $ this -> strategy , 'manager' => $ this -> manager -> get_type ( ) , 'data_sources' => $ this -> data_sources ) ; }
Get the data to serialize.

Child classes should override this method, and add their own data.

This can be exploited to override the base class's data - don't.

@since 1.0

@return array
Get the data to serialize .