Jump to content

Inserting Image Path to Array


monkeybidz

Recommended Posts

This is my current array:

<?php

function ot_tax() {
      $this->code = 'ot_tax';
      $this->title = MODULE_ORDER_TOTAL_TAX_TITLE;
      $this->description = MODULE_ORDER_TOTAL_TAX_DESCRIPTION;
      $this->enabled = ((MODULE_ORDER_TOTAL_TAX_STATUS == 'true') ? true : false);
      $this->sort_order = MODULE_ORDER_TOTAL_TAX_SORT_ORDER;

      $this->output = array();
    }

?>

 

I would like to add an image to the array. Can I add this line?

 

<?php

$this->description_image = '/catalog/images/header_checkout.gif';

?>

 

Currently does not call image.

Link to comment
https://forums.phpfreaks.com/topic/101306-inserting-image-path-to-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.