/**
  * Short Description.
  *
  * @param $id
  * @return null|string
  */
 public function getInstructions($id)
 {
     switch ($id) {
         case self::EMAIL_SENDING_OPTIONS:
             return "<p>These settings control under what circumstances emails are sent out. If you are looking for SMTP server settings, those can be configured under " . CHtml::link("System->Setup->Email Servers", $this->createUrl('system/edit', array('id' => 5))) . ".</p><p>For subject lines, the following variables are available: {storename}, {orderid}, {customername}</p>";
         case self::CUSTOMER_REGISTRATION:
             return "You can edit the Customer database including access levels by clicking " . CHtml::link("Edit Customers", $this->createUrl("databaseadmin/customers"));
         case self::TEMPLATE_OPTIONS:
             return "If you want to choose a new Theme for your site, they can be found under " . CHtml::link("Themes", $this->createUrl("theme/index"));
         case self::INVENTORY:
             return "You can use the code <strong>{qty}</strong> in Inventory Messages to display the actual quantity available.";
         case self::LOCALIZATION:
             return "To edit the actual language strings, use the Translation menu options under " . CHtml::link("Database", $this->createUrl("databaseadmin/index"));
         case self::PRODUCT_PHOTOS:
             if (Yii::app()->params['LIGHTSPEED_MT'] == 1) {
                 return "Change settings for how product images are processed for your Web Store.";
             } else {
                 return "Please note these settings affect photos as they are uploaded. You will need to reflag a product photo and Update Store to see the changes.";
             }
         case self::SEO_PRODUCT:
             return "<P>These settings control the Page Title and Meta Description using keys that represent product information. Each of these keys is wrapped in curly braces ({}). Most represent fields in the Product Card. {crumbtrail} and {rcrumbtrail} (reverse crumbtrail) are the product's category path. Below is the available list of keys:</p><P>{storename}, {name}, {description}, {shortdescription}, {longdescription}, {price}, {family}, {class}, {crumbtrail}, {rcrumbtrail}</p>You can use {storename} and {storetagline} for the homepage.";
         case self::SEO_CATEGORY:
             return "<P>These settings control the Category and Custom Page Titles and Meta Descriptions using keys that represent category name or store information. Each of these keys is wrapped with in curly braces ({}). {crumbtrail} and {rcrumbtrail} (reverse crumbtrail) are the product's category path. Below is the available list of keys:</p>\n<P>{storename}, {name}, {crumbtrail}, {rcrumbtrail}{</p>";
         default:
             return parent::getInstructions($id);
     }
 }