/** * [ValidateProperty description] * @method ValidateProperty * @param [type] $key [description] */ private function ValidateProperty($key) { $sperator = "<i class='fa fa-long-arrow-right></i>"; if (!isset($this->name) || $this->name == "") { TriggerMessage("warning", "CONFIG {$sperator} SITE {$sperator} {$key} property not set. Please correct and retry."); } }
/** * Returns true/false if the current Config Settings are considerered VALID for runtime. * @method Validate */ public function Validate() { $sperator = "<i class='fa fa-long-arrow-right'></i>"; if ($this->name == "") { TriggerMessage("warning", "CONFIG {$sperator} APPLICATION {$sperator} NAME value is empty.<br>Please correct and run again."); } if ($this->sku == "") { TriggerMessage("warning", "CONFIG {$sperator} APPLICATION {$sperator} SKU value is empty.<br>Please correct and run again."); } }