本文整理汇总了PHP中JAdapter::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP JAdapter::__construct方法的具体用法?PHP JAdapter::__construct怎么用?PHP JAdapter::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JAdapter
的用法示例。
在下文中一共展示了JAdapter::__construct方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructor
*
* @param string $basepath Base Path of the adapters
* @param string $classprefix Class prefix of adapters
* @param string $adapterfolder Name of folder to append to base path
*
* @since 3.1
*/
public function __construct($basepath = __DIR__, $classprefix = 'JInstallerAdapter', $adapterfolder = 'adapter')
{
parent::__construct($basepath, $classprefix, $adapterfolder);
$this->extension = JTable::getInstance('extension');
}
示例2: __construct
/**
* Constructor
*
* @access protected
*/
public function __construct()
{
parent::__construct(dirname(__FILE__), 'jaExtUploader');
}
示例3: __construct
/**
* Constructor
*
* @since 11.1
*/
public function __construct()
{
parent::__construct(__DIR__, 'JInstaller');
}
示例4: __construct
/**
* Constructor
*/
public function __construct()
{
// adapter base path, class prefix
parent::__construct(dirname(__FILE__), 'JUpdater');
}
示例5: __construct
/**
* Constructor
*
* @since 11.1
*/
public function __construct()
{
parent::__construct(dirname(__FILE__), 'JInstaller');
}
示例6: __construct
/**
* Constructor
*
* @since 3.1
*/
public function __construct()
{
parent::__construct(__DIR__, 'JInstallerAdapter', __DIR__ . '/adapter');
// Override the default adapter folder
$this->_adapterfolder = 'adapter';
}
示例7:
/**
* PHP style constructor!
*/
function __construct()
{
// base directory is here (so here/adapters)
// and the prefix is 'downloader'
parent::__construct(dirname(__FILE__), 'Downloader');
}
示例8: __construct
public function __construct()
{
parent::__construct(dirname(__FILE__), 'JalangHelperTranslator');
$this->params = JComponentHelper::getParams('com_jalang');
}
示例9: __construct
public function __construct($basepath, $classprefix = null, $adapterfolder = null)
{
JAdapter::__construct(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_xmap', 'JInstaller');
}