"Do not spoil what you have by desiring what you have not; but remember that what you now have was once among the things you only hoped for." -Epicurus
PHP Manual: DLSpaw

Method: __call

Since: 0.1

Visibility: Protected

Parameters:

 Variable
Type
Description
 $name
string
The name of the method that was called.
 $arguments
array
The arguments that was passed to the method.

Returns:

 Type
Description
 mixed
The value that the method returned.

Description:

Allow methods to be stored as files. If the function needs to return a value, then it should have a variable named $return with the value to be returned.

Method: ArrayAsString

Since: 0.1

Visibility: Protected

Parameters:

 Variable
Type
Description
 $data
array
The array to be converted to a string.

Returns:

 Type
Description
 string
The string representation of the array. Returned string will look something similiar to: "key1=>value1|key2=>value2|".

Description:

Convert the given array to a string.

Method: StringAsArray

Since: 0.1

Visibility: Protected

Parameters:

 Variable
Type
Description
 $data
string
The string to be converted to an array. The string should use "|" to separate items and "=>" to separate keys and their values.

Returns:

 Type
Description
 array
The array representation of the array.

Description:

Convert the given string to an array.

Method: UploadsDirectories

Since: 0.1

Visibility: Protected

Parameters:

 Variable
Type
Description
 $cur_dir
string
The current directory.
 $result
array
Optional. The current result set.

Returns:

 Type
Description
 array
The list of directories under the uploads directory.

Description:

Return a list of all the directories under the uploads directory.

User Comments

  • Posted By
  • Posted On
  •  
  • Comment

Comment Submission

Found something wrong with the information or you just want to speak your mind? Send us a comment.

  • Nickname:
  • Comment:
  • Captcha:
  • Captcha
This page was last modified on: May 21, 2008.