Class Test

Description

Located in /Sales/doc/test.php (line 28)


	
			
Variable Summary
mixed $_order
Method Summary
array getAdminStatus ()
void getOrder ()
array getOrderActions ()
void matchOrderStatus (string $type, string $status)
void runTest ()
Variables
mixed $_order (line 29)
  • access: protected
Methods
getAdminStatus (line 283)

Order status for admin

  • return: - new
    • pending
    • processing
    • complete
    • cancelled
array getAdminStatus ()
getFrontendStatus (line 298)

Order status for customers

  • return: - new
    • pending
    • processing
    • complete
    • cancelled
array getFrontendStatus ()
getOrder (line 63)
  • access: public
void getOrder ()
getOrderActions (line 216)

Available actions for admin user

  • return: available actions array
    • cancel
    • authorize
    • capture
    • invoice
    • creditmemo
    • hold
    • unhold
    • ship
    • edit
    • comment
    • status
    • reorder
array getOrderActions ()
matchOrderStatus (line 106)

Check if type and status matches for the order

void matchOrderStatus (string $type, string $status)
  • string $type: order, payment, shipment
  • string $status: comma separated
      • new
      • onhold
      • processing
      • complete
      • closed
      • cancelled
      • void
        • not_authorized
        • pending
        • authorized
        • partial
        • paid
          • pending
          • partial
          • shipped
            • not_refunded
            • pending
            • partial
            • refunded
              • not_returned
              • partial
              • returned
            runTest (line 31)
            • access: public
            void runTest ()
            validateOrderStatus (line 117)
            void validateOrderStatus ()

            Documentation generated on Fri, 11 Feb 2011 17:14:39 +0200 by phpDocumentor 1.4.3