ShoppingCart::message PHP Method

message() protected method

Store a message to be fed back to user.
protected message ( string $message, string $type = "good" )
$message string
$type string - good, bad, warning
    protected function message($message, $type = "good")
    {
        $this->message = $message;
        $this->type = $type;
    }