src/Net/HTTP/PartitionCookie.php
public function set( $key, $value, $path = NULL, $domain = NULL, $secure = NULL, $httpOnly = NULL )
	{
		$key	= str_replace( ".", "_", $key );
		$this->data[$key] = $value;
		$this->save( $path, $domain, $secure, $httpOnly );
	}
public function set( $key, $value, $path = NULL, $domain = NULL, $secure = NULL, $httpOnly = NULL )
	{
		$key	= str_replace( ".", "_", $key );
		$this->data[$key] = $value;
		$this->save( $path, $domain, $secure, $httpOnly );
	}
public function set ( $ key , $ value , $ path = NULL , $ domain = NULL , $ secure = NULL , $ httpOnly = NULL ) { $ key = str_replace ( "." , "_" , $ key ) ; $ this -> data [ $ key ] = $ value ; $ this -> save ( $ path , $ domain , $ secure , $ httpOnly ) ; }
Sets a Cookie to this PartitionCookie.
@access		public
@param		string		$key			Key of Cookie
@param		string		$value			Value of Cookie
@param		string		$path			Path of cookie
@param		string		$domain			Domain of cookie
@param		boolean		$secure			Flag: only with secured HTTPS connection
@param		boolean		$httponly		Flag: allow access via HTTP protocol only
@return		void
Sets a Cookie to this PartitionCookie .