Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Transaction Patterns » Filepicker (Deleting Files / VPD)
Re: Filepicker [message #5533 is a reply to message #5532] Thu, 05 May 2016 04:23 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
When you enter the _cm_pre_deleteRecord method the $rowdata argument contains values from the database record which is the subject of this deletion. I see from this code that it has the name $rowdata['file'] which you are then copying into the $filename variable along with the directory name. You are then doing something with a 'training_plan_uebungen' object, but I cannot determine what. You need to step through with your debugger to see where the actual behaviour differs from what you are expecting.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: list1/list2 - prevent opening detail screen
Next Topic: VPD - PopUp
Goto Forum:
  


Current Time: Sat Apr 27 02:10:31 EDT 2024

Total time taken to generate the page: 0.01240 seconds