���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/ezcomponents/Database/src/exceptions/query/variable_parameter.php
���ѧ٧ѧ�
<?php /** * File containing the ezcQueryVariableParameterException class. * * @package Database * @version 1.4.7 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * Exception thrown when a method does not receive the variables it requires. * * @package Database * @version 1.4.7 */ class ezcQueryVariableParameterException extends ezcQueryException { /** * Constructs an ezcQueryVariableParameterException with the method $method * and the arguments $numProvided and $numExpected. * * @param string $method * @param int $numProvided * @param int $numExpected */ public function __construct( $method, $numProvided, $numExpected ) { $expectedString ="{$numExpected} parameter"; if ( $numExpected > 1 ) { $expectedString .= 's'; } $providedString = "none were provided"; if ( $numProvided == 1 ) { $providedString = "only one was provided"; } else if ( $numProvided > 1 ) { $providedString = "only {$numProvided} were provided"; } $info = "The method '{$method}' expected at least {$expectedString} but {$providedString}."; parent::__construct( $info ); } } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�