final public static function validatePresence (array $requiredFields=[], string $option=NULL) : bool
	{
		$option 			= static::checkGlobal($option);
		$fieldsWithError 	= "";
		foreach ($requiredFields as $field):
			if (!isset($option[$field]) || !static::hasValue($option[$field])) 
				$fieldsWithError .= "'".fieldNameAsText($field)."', ";
		endforeach;
		static::setError($fieldsWithError);
		return static::checkError();
	}
final public static function validatePresence (array $requiredFields=[], string $option=NULL) : bool
	{
		$option 			= static::checkGlobal($option);
		$fieldsWithError 	= "";
		foreach ($requiredFields as $field):
			if (!isset($option[$field]) || !static::hasValue($option[$field])) 
				$fieldsWithError .= "'".fieldNameAsText($field)."', ";
		endforeach;
		static::setError($fieldsWithError);
		return static::checkError();
	}
final public static function validatePresence ( array $ requiredFields = [ ] , string $ option = NULL ) : bool { $ option = static :: checkGlobal ( $ option ) ; $ fieldsWithError = "" ; foreach ( $ requiredFields as $ field ) : if ( ! isset ( $ option [ $ field ] ) || ! static :: hasValue ( $ option [ $ field ] ) ) $ fieldsWithError .= "'" . fieldNameAsText ( $ field ) . "', " ; endforeach ; static :: setError ( $ fieldsWithError ) ; return static :: checkError ( ) ; }
Validates presences for required fields...
@param array $requiredFields
@param string $option
@return bool
Validates presences for required fields ...