VirtueMart
3.2.14.9808
|
Public Member Functions | |
sendRatingEmailToVendor ($data) | |
Static Public Member Functions | |
static | getLoginForm ($cart=FALSE, $order=FALSE, $url= '', $layout= 'login') |
static | getLastVisitedCategoryId ($default=0) |
static | setLastVisitedCategoryId ($categoryId) |
static | getLastVisitedItemId ($default=0) |
static | setLastVisitedItemId ($id) |
static | getLastVisitedManuId () |
static | setLastVisitedManuId ($manuId) |
static | getAddToCartButton ($orderable) |
static | isFEmanager ($task=0) |
static | renderFormField ($type) |
static | getOrderStatusName ($_code) |
static | renderCountryList ($countryId=0, $multiple=FALSE, $_attrib=array(), $_prefix= '', $required=0, $idTag= 'virtuemart_country_id') |
static | renderStateList ($stateId= '0', $_prefix= '', $multiple=FALSE, $required=0, $attribs=array(), $idTag= 'virtuemart_state_id', $suffix='_field') |
static | generateStAddressList ($view, $userModel, $task) |
static | renderVendorAddress ($vendorId, $lineSeparator="<br />", $skips=array('name','username','email','agreed')) |
static | addProductToRecent ($productId) |
static | getRecentProductIds ($nbr=3) |
static | sortLoadProductCustomsStockInd (&$products, $pModel) |
static | calculateProductRowsHeights ($products, $currency, $products_per_row) |
static | renderVmSubLayout ($name, $viewData=0) |
static | renderMail ($viewName, $recipient, $vars=array(), $controllerName=NULL, $noVendorMail=FALSE, $useDefault=true) |
static | prepareViewForMail ($viewName, $vars, $controllerName=false) |
static | loadVmTemplateStyle () |
static | setVmTemplate ($view, $catTpl=0, $prodTpl=0, $catLayout=0, $prodLayout=0) |
static | loadOrderLanguages ($language=0) |
static | sendVmMail (&$view, $recipient, $noVendorMail=FALSE) |
static | getTaxNameWithValue ($name, $value) |
static | limitStringByWord ($string, $maxlength, $suffix= '') |
static | vmSubstr ($str, $s, $e=null) |
static | buildTabs ($view, $load_template=array()) |
static | translateTwoLangKeys ($pkey, $skey) |
static | getMenuItemId ($lang= '*') |
static | triggerContentPlugin (&$article, $context, $field) |
static | mask_string ($cc, $mask_char='X') |
static | getInvoiceFolderName () |
static | getInvoiceName ($invoice_number, $layout='invoice') |
static | getInvoiceDownloadButton ($orderInfo, $descr= 'COM_VIRTUEMART_PRINT', $icon= 'system/pdf_button.png') |
static | InvoiceNumberReserved ($invoice_number) |
static | renderCaptcha ($config= 'reg_captcha', $id= 'dynamic_recaptcha_1') |
|
static |
|
static |
|
static |
|
static |
This generates the list when the user have different ST addresses saved
|
static |
|
static |
|
static |
|
static |
Get the file name for the invoice or deliverynote. The layout argument currently is either 'invoice' or 'deliverynote'
|
static |
|
static |
|
static |
|
static |
|
static |
Get Virtuemart itemID from joomla menu
|
static |
Return the order status name for a given code
char | $_code | Order status code |
|
static |
Gives ids the recently by the shopper visited products
|
static |
|
static |
|
static |
|
static |
Enter description here ...
string | $string | |
int | $maxlength | |
string | $suffix |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Render a simple country list
int | $countryId | Selected country id |
boolean | $multiple | True if multiple selections are allowed (default: false) |
mixed | $_attrib | string or array with additional attributes, e.g. 'onchange=somefunction()' or array('onchange'=>'somefunction()') |
string | $_prefix | Optional prefix for the formtag name attribute |
|
static |
Just an idea, still WIP
$type |
|
static |
Prepares a view for rendering email, then renders and sends
object | $controller | |
string | $viewName | View which will render the email |
string | $recipient | shopp er@w hatev er.c om |
array | $vars | variables to assign to the view |
|
static |
Render a simple state list
int | $stateID | Selected state id |
int | $countryID | Selected country id |
string | $dependentField | Parent <select> ID attribute |
string | $_prefix | Optional prefix for the formtag name attribute |
|
static |
used mostly in the email, to display the vendor address Attention, this function will be removed from any view.html.php
$vendorId | ||
string | $lineSeparator | |
array | $skips |
|
static |
Renders sublayouts
$name | ||
int | $viewData | viewdata for the rendered sublayout, do not remove |
shopFunctionsF::sendRatingEmailToVendor | ( | $data | ) |
|
static |
With this function you can use a view to sent it by email. Just use a task in a controller
string | $view | for example user, cart |
string | $recipient | shopp er@w hatev er.c om |
bool | $vendor | true for notifying vendor of user action (e.g. registration) |
|
static |
|
static |
|
static |
|
static |
This function sets the right template on the view
|
static |
|
static |
Checks if Joomla language keys exist and combines it according to existing keys. $pkey : primary string to search for Language key (must have s in the string to work) $skey : secondary string to search for Language key
|
static |
|
static |