Comments: on this page. Click to read or post your own.

Class SimpleAttachment

Description

Single post parameter.

Located in /sapphire/dev/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.
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:40:43 +1300 by phpDocumentor 1.3.2