本文整理匯總了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');
}