mSale Posted July 29, 2005 Share Posted July 29, 2005 I check the \includes\classes\payment.php,trace it and find: function selection() { $selection_array = array(); if (is_array($this->modules)) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); //moneyorder and paypal if ($GLOBALS[$class]->enabled) { $selection = $GLOBALS[$class]->selection(); //only moneyorder if (is_array($selection)) $selection_array[] = $selection; } } } return $selection_array; } Please help me,and thanks. Link to comment Share on other sites More sharing options...
mSale Posted July 30, 2005 Author Share Posted July 30, 2005 I check the \includes\classes\payment.php,trace it and find:Please help me,and thanks. <{POST_SNAPBACK}> I want to know what the following line do mean: if ($GLOBALS[$class]->enabled) Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.