public function __construct($VariablesArray) { Items::$DBConnection = $VariablesArray[0]::$Connection; Items::$WConnection = $VariablesArray[0]::$WConnection; Items::$CConnection = $VariablesArray[0]::$CConnection; Items::$TM = $VariablesArray[1]; Items::LoadSocketBonus(); }
public function __construct($VariablesArray) { Items::$DBConnection = $VariablesArray[0]::$Connection; Items::$WConnection = $VariablesArray[0]::$WConnection; Items::$CConnection = $VariablesArray[0]::$CConnection; Items::$TM = $VariablesArray[1]; if (empty($GemProperties)) { Items::LoadGemProperties(); } //Items::LoadSocketBonus(); }