<?php
/**
 * PW_Cart_Action
 * 
 */
 
class PW_Cart_Action {

public $link;
public $label;
public $color;

public function __construct($link, $label, $color = '') {
	$this->link = $link;
	$this->label = $label;
	$this->color = $color;
}

public function display() {

	if($this->color != '')
		$color_style = " style='color:#$color' ";
	else
		$color_style = '';

	$ret = " <a href='". $this->link ."' " . $this->color . " >" . __($this->label, "woocommerce_cart_reports") . "</a> ";
	return $ret;
}



}

?>