コード例 #1
0
ファイル: cart.php プロジェクト: forthrobot/inuvik
 /**
  * Determines if there are any shipped items in the cart
  *
  * @api `shopp('cart.has-shipped')`
  * @since 1.1
  *
  * @param string    $result  The output
  * @param array     $options The options
  * @param ShoppCart $O       The working object
  * @return bool True if there are shipped items in the cart, false otherwise
  **/
 public static function has_shipped($result, $options, $O)
 {
     reset($O->shipped);
     return $O->shipped();
 }