The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
DataManager question(s)
I want to use a datamanager to save some custom fields. However I am unsure about one or two things.
1. What is the difference between the vB_DataManager set() and setr() functions? Why would I use one instead of the other? 2. What is the purpose of the setinfo() function? Why would you use this function instead of using set()? |
#2
|
|||
|
|||
Quote:
If you don't know what references are it might help to look this over: http://us2.php.net/manual/en/language.references.php Quote:
I'm not 100% sure, but it looks like the set_info() function is used to pass values to the data manager other than the actual values that will be saved. For instance if the user dm needed to know the value of a certain option to process the user info, but that option isn't part of the actual user data, you'd set it with set_info() instead of set(). |
#3
|
|||
|
|||
ty mate
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|