VmController::__construct |
( |
|
$cidName = 'cid' , |
|
|
|
$config = array() |
|
) |
| |
Sets automatically the shortcut for the language and the redirect path
- Author
- Max Milbers
Generic cancel task
- Author
- Max Milbers
VmController::display |
( |
|
$cachable = false , |
|
|
|
$urlparams = false |
|
) |
| |
Typical view method for MVC based architecture
This function is provide as a default implementation, in most cases you will need to override it in your own controllers.
For the virtuemart core, we removed the "Get/Create the model"
- Parameters
-
boolean | $cachable | If true, the view output will be cached |
array | $urlparams | An array of safe url parameters and their variable types, for valid values see JFilterInput::clean(). |
- Returns
- JController A JController object to support chaining.
- Since
- 11.1
VmController::edit |
( |
|
$layout = 'edit' | ) |
|
Generic edit task
- Author
- Max Milbers
VmController::getModel |
( |
|
$name = '' , |
|
|
|
$prefix = '' , |
|
|
|
$config = array() |
|
) |
| |
This function just overwrites the standard joomla function, using our standard class VmModel for this
- See also
- JController::getModel()
VmController::orderdown |
( |
| ) |
|
VmController::orderup |
( |
| ) |
|
VmController::publish |
( |
|
$cidname = 0 , |
|
|
|
$table = 0 , |
|
|
|
$redirect = 0 |
|
) |
| |
Handle the publish task
- Author
- Jseros, Max Milbers
Generic remove task
- Author
- Max Milbers
VmController::save |
( |
|
$data = 0 | ) |
|
Generic save task
- Author
- Max Milbers
- Parameters
-
post | $data | sometimes we just want to override the data to process |
VmController::saveorder |
( |
| ) |
|
VmController::toggle |
( |
|
$field = 0 , |
|
|
|
$val = null |
|
) |
| |
Handle the toggle task
- Author
- Max Milbers , Patrick Kohl
VmController::unpublish |
( |
|
$cidname = 0 , |
|
|
|
$table = 0 , |
|
|
|
$redirect = 0 |
|
) |
| |
Handle the publish task
- Author
- Max Milbers, Jseros
VmController::$_cidName = 0 |
|
protected |
VmController::$_cname = 0 |
|
protected |
The documentation for this class was generated from the following file: