Vergleich inc/datahandler.php - 1.8.4 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 60Zeile 60
	/**
* Constructor for the data handler.
*

	/**
* Constructor for the data handler.
*

	 * @param string The method we're performing with this object.

	 * @param string $method The method we're performing with this object.

	 */
function __construct($method="insert")
{

	 */
function __construct($method="insert")
{

Zeile 74Zeile 74
	/**
* Sets the data to be used for the data handler
*

	/**
* Sets the data to be used for the data handler
*

	 * @param array The data.


	 * @param array $data The data.
* @return bool

	 */
function set_data($data)
{

	 */
function set_data($data)
{

Zeile 89Zeile 90
	/**
* Add an error to the error array.
*

	/**
* Add an error to the error array.
*

	 * @param string The error name.


	 * @param string $error The error name.
* @param string $data

	 */
function set_error($error, $data='')
{

	 */
function set_error($error, $data='')
{

Zeile 102Zeile 104
	/**
* Returns the error(s) that occurred when handling data.
*

	/**
* Returns the error(s) that occurred when handling data.
*

	 * @return string|array An array of errors.

	 * @return array An array of errors.

	 */
function get_errors()
{

	 */
function get_errors()
{

Zeile 113Zeile 115
	 * Returns the error(s) that occurred when handling data
* in a format that MyBB can handle.
*

	 * Returns the error(s) that occurred when handling data
* in a format that MyBB can handle.
*

	 * @return An array of errors in a MyBB format.

	 * @return array An array of errors in a MyBB format.

	 */
function get_friendly_errors()
{

	 */
function get_friendly_errors()
{

Zeile 183Zeile 185
	/**
* Verifies if yes/no options haven't been modified.
*

	/**
* Verifies if yes/no options haven't been modified.
*

	* @param array The user options array.
* @param string The specific option to check.
* @param string Optionally specify if the default should be used.

	* @param array $options The user options array.
* @param string $option The specific option to check.
* @param int|bool $default Optionally specify if the default should be used.

	*/
function verify_yesno_option(&$options, $option, $default=1)
{

	*/
function verify_yesno_option(&$options, $option, $default=1)
{