Previous Page
post()

Solar_Request
postAndFiles()

Next Page
reset()

postAndFiles()

public mixed postAndFiles ( string $key default NULL, string $alt default NULL )

Retrieves an unfiltered value by key from the $post and $files properties, or an alternate default value if that key does not exist in either location.

Parameters

  • (string) $key: The $post and $files key to retrieve the value of.
  • (string) $alt: The value to return if the key does not exist in either $post or $files.

Returns

  • (mixed) The value of $post[$key] combined with $files[$key], or the alternate default value.

Description

Retrieves an unfiltered value by key from the $post and $files properties, or an alternate default value if that key does not exist in either location.

Files takes precedence over post.