Posted by Anonymous Fri 9th Feb 2007 17:00 - Syntax is PHP - 164 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
PHP parser reported the following syntax error in this post:
Parse error: syntax error, unexpected T_PUBLIC in post on line 1
Parse error: syntax error, unexpected T_PUBLIC in post on line 1
-
public function sortDescription($model, $iterA, $iterB)
-
{
-
$descA = $model->get_value($iterA, DESC_COLUMN_NUM);
-
$descB = $model->get_value($iterB, DESC_COLUMN_NUM);
-
-
if ($descA == $descB) {
-
$priceA = model->get_value($iterA, PRICE_COLUMN_NUM);
-
$priceA = model->get_value($iterA, PRICE_COLUMN_NUM);
-
-
if ($priceA == $priceB) {
-
// ....
-
}
-
return ($priceA < $priceB ? -1 : 1);
-
}
-
-
return ($descA < $descB ? -1 : 1);
-
}
PermaLink to this entry https://pastebin.co.uk/10169
Posted by Anonymous Fri 9th Feb 2007 17:00 - Syntax is PHP - 164 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0