Class SimpleAttachment

Description

Single post parameter.

Located in /_tests/simpletest/encoding.php (line 89)


	
			
Variable Summary
mixed $_content
mixed $_filename
mixed $_key
Method Summary
SimpleAttachment SimpleAttachment (string $key, string $content, hash $filename)
string asMime ()
string asRequest ()
string getKey ()
string getValue ()
boolean isKey (string $key)
Variables
mixed $_content (line 91)
mixed $_filename (line 92)
mixed $_key (line 90)
Methods
Constructor SimpleAttachment (line 100)

Stashes the data for rendering later.

SimpleAttachment SimpleAttachment (string $key, string $content, hash $filename)
  • string $key: Key to add value to.
  • string $content: Raw data.
  • hash $filename: Original filename.
asMime (line 120)

The MIME part as a string.

  • return: MIME part encoding.
  • access: public
string asMime ()
asRequest (line 111)

The pair as a single string.

  • return: Encoded pair.
  • access: public
string asRequest ()
getKey (line 171)

Is this the value we are looking for?

  • return: Identifier.
  • access: public
string getKey ()
getValue (line 180)

Is this the value we are looking for?

  • return: Content.
  • access: public
string getValue ()
isKey (line 162)

Is this the value we are looking for?

  • return: True if matched.
  • access: public
boolean isKey (string $key)
  • string $key: Identifier.

Documentation generated on Sun, 02 Jan 2011 23:13:59 +0000 by phpDocumentor 1.4.3