本文整理汇总了PHP中AgaviToolkit::overloadHelper方法的典型用法代码示例。如果您正苦于以下问题:PHP AgaviToolkit::overloadHelper方法的具体用法?PHP AgaviToolkit::overloadHelper怎么用?PHP AgaviToolkit::overloadHelper使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AgaviToolkit
的用法示例。
在下文中一共展示了AgaviToolkit::overloadHelper方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Overloaded.
*
* @see AgaviGregorianCalendar::constructorO()
* @see AgaviGregorianCalendar::constructorOO()
* @see AgaviGregorianCalendar::constructorOIII()
* @see AgaviGregorianCalendar::constructorOIIIII()
* @see AgaviGregorianCalendar::constructorOIIIIII()
*
* @author Dominik del Bondio <ddb@bitxtender.com>
* @author The ICU Project
* @since 0.11.0
*/
public function __construct()
{
$this->initVariables();
$arguments = func_get_args();
$fName = AgaviToolkit::overloadHelper(array(array('name' => 'constructorO', 'parameters' => array('object')), array('name' => 'constructorOO', 'parameters' => array('object', 'object')), array('name' => 'constructorOIII', 'parameters' => array('object', 'int', 'int', 'int')), array('name' => 'constructorOIIIII', 'parameters' => array('object', 'int', 'int', 'int', 'int', 'int')), array('name' => 'constructorOIIIIII', 'parameters' => array('object', 'int', 'int', 'int', 'int', 'int', 'int'))), $arguments);
call_user_func_array(array($this, $fName), $arguments);
}
示例2: __construct
/**
* Constructor
*
* @see AgaviOlsonTimeZone::constructor()
* @see AgaviOlsonTimeZone::constructorOSA()
*
* @author Dominik del Bondio <ddb@bitxtender.com>
* @author The ICU Project
* @since 0.11.0
*/
public function __construct()
{
$arguments = func_get_args();
if (count($arguments) == 1) {
parent::__construct($arguments[0]);
return;
}
$fName = AgaviToolkit::overloadHelper(array(array('name' => 'constructorOSA', 'parameters' => array('object', 'string', 'array'))), $arguments);
call_user_func_array(array($this, $fName), $arguments);
}
示例3: getOffset
/**
* Overloaded.
*
* @see AgaviSimpleTimeZone::getOffsetIIIIII()
* @see AgaviSimpleTimeZone::getOffsetIIIIIII()
* @see AgaviSimpleTimeZone::getOffsetIIIIIIII()
*
* @author Dominik del Bondio <dominik.del.bondio@bitextender.com>
* @author The ICU Project
* @since 0.11.0
*/
public function getOffset()
{
$arguments = func_get_args();
$fName = AgaviToolkit::overloadHelper(array(array('name' => 'getOffsetIIIIII', 'parameters' => array('int', 'int', 'int', 'int', 'int', 'int')), array('name' => 'getOffsetIIIIIII', 'parameters' => array('int', 'int', 'int', 'int', 'int', 'int', 'int')), array('name' => 'getOffsetIIIIIIII', 'parameters' => array('int', 'int', 'int', 'int', 'int', 'int', 'int', 'int'))), $arguments);
return call_user_func_array(array($this, $fName), $arguments);
}
示例4: clear
/**
* Overloaded
*
* @see AgaviCalendar::clear1()
* @see AgaviCalendar::clear2()
*
* @author Dominik del Bondio <ddb@bitxtender.com>
* @author The ICU Project
* @since 0.11.0
*/
public function clear()
{
$arguments = func_get_args();
$fName = AgaviToolkit::overloadHelper(array(array('name' => 'clear1', 'parameters' => array()), array('name' => 'clear2', 'parameters' => array('int'))), $arguments);
call_user_func_array(array($this, $fName), $arguments);
}