VirtueMart  3.2.14.9808
Public Member Functions | Private Member Functions | Private Attributes | List of all members
VirtuemartViewCustom Class Reference
Inheritance diagram for VirtuemartViewCustom:
Inheritance graph
[legend]
Collaboration diagram for VirtuemartViewCustom:
Collaboration graph
[legend]

Public Member Functions

 display ($tpl=null)
 
 renderInstalledCustomPlugins ($selected)
 
 displayCustomFields ($datas)
 
 addHidden ($name, $value= '')
 
 display ($tpl=null)
 
- Public Member Functions inherited from VmViewAdmin
 __construct ($config=array())
 
 display ($tpl=null)
 
 addStandardDefaultViewCommands ($showNew=true, $showDelete=true, $showHelp=true)
 
 addJsJoomlaSubmitButton ($validate=false)
 
 addStandardDefaultViewLists ($model, $default_order=0, $default_dir= 'DESC', $name= 'search')
 
 getValidFilterOrder ($app, $model, $view, $default_order)
 
 displayDefaultViewSearch ($searchLabel='COM_VIRTUEMART_NAME', $name='search')
 
 addStandardEditViewCommands ($id=0, $object=null)
 
 SetViewTitle ($name='', $msg='', $icon='')
 
 sort ($orderby, $name=null, $task=null)
 
 addStandardHiddenToForm ($controller=null, $task='')
 
 toggle ($field, $i, $toggle, $imgY= 'tick.png', $imgX= 'publish_x.png', $untoggleable=false)
 
 gridPublished ($name, $i)
 
 showhelp ()
 
 showACLPref ()
 
 showVendors ()
 
 manager ($view=0)
 
 setOrigLang ($model)
 

Private Member Functions

 getOptions ($field_types)
 
 addHiddenByType ($datas)
 

Private Attributes

 $json = null
 

Additional Inherited Members

- Public Attributes inherited from VmViewAdmin
 $lists = array()
 
 $showVendors = null
 
 $writeJs = true
 
- Protected Attributes inherited from VmViewAdmin
 $canDo
 

Member Function Documentation

VirtuemartViewCustom::addHidden (   $name,
  $value = '' 
)

Use this to adjust the hidden fields of the displaycustomHandler to your form

Author
Max Milbers
Parameters
string$namefor exampel view
string$valuefor exampel custom
VirtuemartViewCustom::addHiddenByType (   $datas)
private

Adds the hidden fields which are needed for the form in every case

Author
Max Milbers OBSELTE ?
VirtuemartViewCustom::display (   $tpl = null)
VirtuemartViewCustom::display (   $tpl = null)
VirtuemartViewCustom::displayCustomFields (   $datas)

This displays a custom handler.

Parameters
string$htmlatttributes, Just for displaying the fullsized image
VirtuemartViewCustom::getOptions (   $field_types)
private

child classes can add their own options and you can get them with this function

Parameters
array$optionsarray
VirtuemartViewCustom::renderInstalledCustomPlugins (   $selected)

Member Data Documentation

VirtuemartViewCustom::$json = null
private

The documentation for this class was generated from the following files: