Location: PHPKode > projects > Quick.Cart - free and simple to use shopping cart script > db/pl_products.def.php
<?php
$aFieldsNames   = Array( 'iProduct' => 0, 'sName' => 1, 'fPrice' => 2, 'iStatus' => 3, 'iPosition' => 4,  'sAvailable' => 5, 'sDescriptionShort' => 6 );
$aFieldsSort    = Array( 'iPosition', 'sName', 'iProduct', 'sAvailable', 'fPrice', 'sDescriptionShort', 'iStatus' );

function pl_products( $aExp ){
  return Array( 'iProduct' => $aExp[0], 'sName' => $aExp[1], 'fPrice' => $aExp[2], 'iStatus' => $aExp[3], 'iPosition' => $aExp[4], 'sAvailable' => $aExp[5], 'sDescriptionShort' => $aExp[6] );
}
?>
Return current item: Quick.Cart - free and simple to use shopping cart script