Jump to content

Search the Community

Showing results for tags 'trash()'.

  • 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 1 result

  1. Recently I was in trouble filling a repeater inside a foreach loop (Creating pages from a CVS File). One of the steps in my script was delete all existing pages before start creating new ones. Discovered that after using $page->delete() and create a new page I could't fill my repeater fields. Then if I use $page->trash() no problem, and the repeater's were created and correctly filled. What's the difference between delete and trash? Is there some internal pointer that get lost when delete() is called affecting the behaviour of the New() function or getNew()? The original problem is in this tread: https://processwire.com/talk/topic/11130-problem-addingpopulating-repeater-using-api/ Thank's.
×
×
  • Create New...