Documentation

UI
in package

Class UI

Table of Contents

btnProviceModal()  : string
btnShipmentMethodsModal()  : string
buildTree()  : mixed
getCategoriesByParentID()  : array<string|int, mixed>|null
homeProductTabSwiperItems()  : mixed
img()  : string
metronicDatatable()  : string
modal()  : mixed
productLisGrid()  : string
treeview()  : string

Methods

btnProviceModal()

public static btnProviceModal() : string
Return values
string

btnShipmentMethodsModal()

public static btnShipmentMethodsModal() : string
Return values
string

buildTree()

public static buildTree( $array,  $currentParent, int $currLevel[, int $prevLevel = -1 ]) : mixed
Parameters
$array :
$currentParent :
$currLevel : int
$prevLevel : int = -1
Return values
mixed

getCategoriesByParentID()

public static getCategoriesByParentID( $parentID,  $level) : array<string|int, mixed>|null
Parameters
$parentID :
$level :
Return values
array<string|int, mixed>|null

homeProductTabSwiperItems()

public static homeProductTabSwiperItems(int $categoryID) : mixed
Parameters
$categoryID : int
Return values
mixed

img()

public static img( $picFilename,  $width,  $height,  $alt,  $cssClass) : string
Parameters
$picFilename :
$width :
$height :
$alt :
$cssClass :
Return values
string

metronicDatatable()

public static metronicDatatable( $title,  $subTitle) : string
Parameters
$title :
$subTitle :
Return values
string

modal()

public static modal( $id,  $title,  $content) : mixed
Parameters
$id :
$title :
$content :
Return values
mixed

productLisGrid()

public static productLisGrid( $productImage,  $title,  $subTitle,  $price,  $discount,  $alt,  $quality,  $shopname,  $shoplogo,  $shopLocation) : string
Parameters
$productImage :
$title :
$subTitle :
$price :
$discount :
$alt :
$quality :
$shopname :
$shoplogo :
$shopLocation :
Return values
string

treeview()

public static treeview() : string
Return values
string

Search results