Class

ValidationResult

Package: Util Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2010 01 16 Located at: util/ValidationResult.class.php

This class is done to time a process easily. You choose when to start and when to stop.

Methods summary
public
# __construct( $title = 'Validation result' )
public
public
# add_error( string $error_msg )

Adds an error message

public string[]
# get_errors_messages( )

Returns the list of the errors messages

public boolean
# has_errors( )

Returns

true

if there is errors