OrderStatusStyles

Class OrderStatusStyles

This class works in cooperation with the "admin/html/content/layouts/main/partial/order_status_styles.html" to provide the dynamic styling of the order status labels.

category

System

package

Extensions

subpackage

Orders

Methods

OrderStatusStyles constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Get the order status styles for the "order_status_styles.html" partial.

getStyles() : array

Include the order_status_styles.html in your template and pass in a variable with the "order_status_styles" name. The template will output a