Documentation

ORDERS
in package

Class ORDERS

Table of Contents

addBuyItemToCart()  : mixed
addItemToBuyNow()  : int
addItemToTempCartBySeller()  : bool
changeBuyItemCount()  : bool
changeCartItemStatus()  : bool
changeFactorStatus()  : mixed
changeItemCount()  : mixed
changeSellerItemStatus()  : mixed
changeShipmentForOrderDetails()  : bool|void
checkFactorStatus()  : mixed
checkProductCount()  : bool
generateCartForMobile()  : array<string|int, mixed>
generateCartRows()  : string
generateCartRowsBySeller()  : mixed
generateCartRowsBySeller1()  : array<string|int, mixed>
generateCartRowsForBuyNow()  : mixed
generateCartRowsForMiniCart()  : array<string|int, mixed>
generateCartRowsForMiniCartMetronic()  : array<string|int, mixed>
generateRowsForBuyNow()  : array<string|int, mixed>
getBuy()  : bool|mixed
getCart()  : bool|mixed
getCartCity()  : mixed
getCartItemsCount()  : int
getLatestOrdersByUserID()  : array<string|int, mixed>|null
getOrderItemsByUserID()  : array<string|int, mixed>|null
getOrdersByBuyerID()  : array<string|int, mixed>|null
getOrdersBySellerID()  : array<string|int, mixed>|null
getProductCount()  : array<string|int, mixed>
getWishlistByBuyerID()  : array<string|int, mixed>|null
removeCartItem()  : mixed
removeItemFromCart()  : mixed
saveOrder()  : bool|mixed|null
setBuy()  : mixed
setCart()  : mixed
setCartCity()  : mixed
setCartProductCount()  : mixed
setOrder()  : bool|mixed|null
setOrderDetailsDeliveryDate()  : bool
setTotal()  : array<string|int, mixed>

Methods

addBuyItemToCart()

public static addBuyItemToCart() : mixed
Return values
mixed

addItemToBuyNow()

public static addItemToBuyNow( $productID,  $count,  $size,  $color,  $province,  $city,  $shablon) : int
Parameters
$productID :
$count :
$size :
$color :
$province :
$city :
$shablon :
Return values
int

addItemToTempCartBySeller()

public static addItemToTempCartBySeller( $productID,  $count,  $size,  $color,  $province,  $city,  $shablon[, bool $buy_now = false ]) : bool
Parameters
$productID :
$count :
$size :
$color :
$province :
$city :
$shablon :
$buy_now : bool = false
Return values
bool

changeBuyItemCount()

public static changeBuyItemCount( $productID,  $count) : bool
Parameters
$productID :
$count :
Return values
bool

changeCartItemStatus()

public static changeCartItemStatus( $sellerID,  $productID[, bool $buy_now = false ]) : bool
Parameters
$sellerID :
$productID :
$buy_now : bool = false
Return values
bool

changeFactorStatus()

public static changeFactorStatus( $cartStatus1[, bool $buy_now = false ]) : mixed
Parameters
$cartStatus1 :
$buy_now : bool = false
Return values
mixed

changeItemCount()

public static changeItemCount( $productID,  $count[, bool $add = false ]) : mixed
Parameters
$productID :
$count :
$add : bool = false
Return values
mixed

changeSellerItemStatus()

public static changeSellerItemStatus( $sellerID[, bool $buy_now = false ]) : mixed
Parameters
$sellerID :
$buy_now : bool = false
Return values
mixed

changeShipmentForOrderDetails()

public static changeShipmentForOrderDetails( $productID,  $shipmentServiceTermID[, bool $buy_now = false ]) : bool|void
Parameters
$productID :
$shipmentServiceTermID :
$buy_now : bool = false
Return values
bool|void

checkFactorStatus()

public static checkFactorStatus([bool $buyNow = false ]) : mixed
Parameters
$buyNow : bool = false
Return values
mixed

checkProductCount()

public static checkProductCount( $productID,  $count) : bool
Parameters
$productID :
$count :
Return values
bool

generateCartForMobile()

public static generateCartForMobile([bool $buyNow = false ]) : array<string|int, mixed>
Parameters
$buyNow : bool = false
Return values
array<string|int, mixed>

generateCartRows()

public static generateCartRows() : string
Return values
string

generateCartRowsBySeller()

public static generateCartRowsBySeller() : mixed
Return values
mixed

generateCartRowsBySeller1()

public static generateCartRowsBySeller1([bool $buyNow = false ]) : array<string|int, mixed>
Parameters
$buyNow : bool = false
Return values
array<string|int, mixed>

generateCartRowsForBuyNow()

public static generateCartRowsForBuyNow() : mixed
Return values
mixed

generateCartRowsForMiniCart()

public static generateCartRowsForMiniCart() : array<string|int, mixed>
Return values
array<string|int, mixed>

generateCartRowsForMiniCartMetronic()

public static generateCartRowsForMiniCartMetronic() : array<string|int, mixed>
Return values
array<string|int, mixed>

generateRowsForBuyNow()

public static generateRowsForBuyNow() : array<string|int, mixed>
Return values
array<string|int, mixed>

getBuy()

public static getBuy() : bool|mixed
Return values
bool|mixed

getCart()

public static getCart([bool $buy = false ]) : bool|mixed
Parameters
$buy : bool = false
Return values
bool|mixed

getCartCity()

public static getCartCity() : mixed
Return values
mixed

getCartItemsCount()

public static getCartItemsCount() : int
Return values
int

getLatestOrdersByUserID()

public static getLatestOrdersByUserID( $userID) : array<string|int, mixed>|null
Parameters
$userID :
Return values
array<string|int, mixed>|null

getOrderItemsByUserID()

public static getOrderItemsByUserID( $userID[, int $rowsCount = 5 ]) : array<string|int, mixed>|null
Parameters
$userID :
$rowsCount : int = 5
Return values
array<string|int, mixed>|null

getOrdersByBuyerID()

public static getOrdersByBuyerID( $buyerID) : array<string|int, mixed>|null
Parameters
$buyerID :
Return values
array<string|int, mixed>|null

getOrdersBySellerID()

public static getOrdersBySellerID( $sellerID) : array<string|int, mixed>|null
Parameters
$sellerID :
Return values
array<string|int, mixed>|null

getProductCount()

public static getProductCount( $productID[, bool $buyNow = false ]) : array<string|int, mixed>
Parameters
$productID :
$buyNow : bool = false
Return values
array<string|int, mixed>

getWishlistByBuyerID()

public static getWishlistByBuyerID( $buyerID) : array<string|int, mixed>|null
Parameters
$buyerID :
Return values
array<string|int, mixed>|null

removeCartItem()

public static removeCartItem( $productID[, bool $buy_now = false ]) : mixed
Parameters
$productID :
$buy_now : bool = false
Return values
mixed

removeItemFromCart()

public static removeItemFromCart( $productID) : mixed
Parameters
$productID :
Return values
mixed

saveOrder()

public static saveOrder( $addressID,  $provinceID,  $cityID,  $shipment_shabon,  $payment_type) : bool|mixed|null
Parameters
$addressID :
$provinceID :
$cityID :
$shipment_shabon :
$payment_type :
Return values
bool|mixed|null

setBuy()

public static setBuy( $cart) : mixed
Parameters
$cart :
Return values
mixed

setCart()

public static setCart( $cart[, bool $buy = false ]) : mixed
Parameters
$cart :
$buy : bool = false
Return values
mixed

setCartCity()

public static setCartCity( $cityID[, bool $buy_now = false ]) : mixed
Parameters
$cityID :
$buy_now : bool = false
Return values
mixed

setCartProductCount()

public static setCartProductCount( $productID,  $count[, bool $buy_now = false ]) : mixed
Parameters
$productID :
$count :
$buy_now : bool = false
Return values
mixed

setOrder()

public static setOrder( $addressID,  $paymentMethod, int $provinceID, int $cityID[, int $shipment_shabon = 1 ][, bool $buy_now = false ]) : bool|mixed|null
Parameters
$addressID :
$paymentMethod :
$provinceID : int
$cityID : int
$shipment_shabon : int = 1
$buy_now : bool = false
Return values
bool|mixed|null

setOrderDetailsDeliveryDate()

public static setOrderDetailsDeliveryDate( $orderDetailsID) : bool
Parameters
$orderDetailsID :
Return values
bool

setTotal()

public static setTotal(int $count, int $totalPrice, int $totalShipment, int $discount) : array<string|int, mixed>
Parameters
$count : int
$totalPrice : int
$totalShipment : int
$discount : int
Return values
array<string|int, mixed>

Search results