本文整理汇总了PHP中VmController::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP VmController::__construct方法的具体用法?PHP VmController::__construct怎么用?PHP VmController::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VmController
的用法示例。
在下文中一共展示了VmController::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
/**
* Method to display the view
*
* @access public
*/
function __construct()
{
if (!JFactory::getUser()->authorise('core.admin')) {
JFactory::getApplication()->redirect('index.php', JText::_('JERROR_ALERTNOAUTHOR'));
return;
}
parent::__construct();
}
示例2:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct()
{
VmConfig::loadJLang('com_virtuemart_config');
if (!JFactory::getUser()->authorise('core.admin')) {
$app = JFactory::getApplication();
JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
$app->redirect('index.php');
return;
}
parent::__construct();
}
示例3:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct()
{
parent::__construct('virtuemart_user_id');
}
示例4:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct()
{
parent::__construct('virtuemart_custom_id');
}
示例5:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct() {
parent::__construct('virtuemart_manufacturercategories_id');
}
示例6:
/**
* Method to display the view
*
* @access public
*/
function __construct()
{
VmConfig::loadJLang('com_virtuemart_config');
parent::__construct();
}
示例7:
/**
* Method to display the view
*
* @access public
*/
function __construct()
{
parent::__construct('virtuemart_shoppergroup_id');
$this->registerTask('default', 'makeDefault');
}
示例8:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct()
{
parent::__construct();
}
示例9: vmdebug
/**
* Method to display the view
*
* @access public
*/
function __construct()
{
parent::__construct();
$task = JRequest::getVar('task');
vmdebug('cconstruct', $task);
}
示例10:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct()
{
parent::__construct('virtuemart_product_id');
$this->addViewPath(VMPATH_ADMIN . DS . 'views');
}
示例11:
/**
* Method to display the view
*
* @access public
* @author RickG, Max Milbers
*/
function __construct() {
parent::__construct('virtuemart_state_id');
$country = vRequest::getInt('virtuemart_country_id', 0);
$this->redirectPath .= ($country > 0) ? '&virtuemart_country_id=' . $country : '';
}
示例12:
/**
* Method to display the view
*
* @access public
*/
function __construct() {
parent::__construct('virtuemart_shoppergroup_id');
}
示例13:
/**
* Method to display the view
*
* @access public
* @author
*/
function __construct()
{
VmConfig::loadJLang('com_virtuemart_shoppers', TRUE);
parent::__construct('virtuemart_user_id');
}
示例14: array
function __construct($config = array())
{
parent::__construct('virtuemart_orderstate_id', $config);
}
示例15:
/**
* Method to display the view
*
* @access public
*/
function __construct()
{
parent::__construct();
$this->registerTask('default', 'makeDefault');
}