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