Jump to content

Search the Community

Showing results for tags 'transactions'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hello, I wonder if you can have some sort of transactions using PW API. in order to rollback any changes made to a previous state if something went wrong. For example if you have a shopping cart. a product that only have 1 item left. two people that want that product at the same time. One gets the product, the other gets an error. You can have something similar using many 'if '. But something similar to this, I think could be cleaner. Thanks
  2. Hello, I'm developing a module that takes a json string and uses it to create a tree of PW pages. I build up the tree by assigning the parent of every new page. I want this to happen on an all-or-nothing basis, does PW have some sort of wrapper for this or would I need to get hold of the connection object and do a $conn->beginTransaction()...? Any help greatly appreciated, Phil. **Edit** - Sorry I just realised this should probably be in the API forum.
×
×
  • Create New...