![]() |
Quote:
|
Suggest @ Jelsoft to call die('Class vB_Datamanager not defined') instead of just exit; :)
|
Or just die ;)
Satan |
Hmm, die() without parameters does not produce any output as well, or am I wrong?
|
No - I meant that you could suggest to Jelsoft that they could just die:p
They haven't fixed the Beta 3 issue yet :cry: Satan |
I don't understand how to use this? Is this a class built into 3.5? Is this code you would place in one of the files in the include directory? Or you create a new php page with functions?
Would it be possible to explain this hack in detail as if you were speaking to a very dumb person :ninja: |
This is not a Hack, it's Howto ;)
Class vB_Datamanager_PM is a Class that comes with vB 3.5, yes. You can use code like this wherever you want in your vB Projects/Hacks. |
Quote:
Quote:
Quote:
right? Another dummy question, how do you get the array out of there? The "->" is throwing me off. |
For objects (that's an instantiated Class) you must always use ->.
$pmdm->errors was not meant to be used as a single Code-Line, it should just show which property you have to access (for example in an if) to check for errors. |
I hate OOP :)
I guess I'll have to get used to it unfortunately. |
All times are GMT. The time now is 02:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|