public function setUserTemplate($identifier) {
		$template = PermamailTemplate::get_by_identifier($identifier);
		if(!$template) {
			$template = PermamailTemplate::create(array(
				'Identifier' => $identifier,
			));
			$template->write();
		}
		
		$this->userTemplate = $identifier;

		return $this;
	}
public function setUserTemplate($identifier) {
		$template = PermamailTemplate::get_by_identifier($identifier);
		if(!$template) {
			$template = PermamailTemplate::create(array(
				'Identifier' => $identifier,
			));
			$template->write();
		}
		
		$this->userTemplate = $identifier;

		return $this;
	}
public function setUserTemplate ( $ identifier ) { $ template = PermamailTemplate :: get_by_identifier ( $ identifier ) ; if ( ! $ template ) { $ template = PermamailTemplate :: create ( array ( 'Identifier' => $ identifier , ) ) ; $ template -> write ( ) ; } $ this -> userTemplate = $ identifier ; return $ this ; }
Sets the user-defined template to use
@param string $identifier The identifier of the {@link PermamailTemplate}
@return  Permamail
Sets the user - defined template to use