The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
classes/functions and user fields
I was wondering what the correct usage is for a class when i want to use a field for a variable. Here is part of the class im trying to get working:
Code:
class Code { private $key = $bbuserinfo[fieldx]; private $usercode = $bbuserinfo[fieldx]; private $charcode = $bbuserinfo[fieldx]; private $cachedir = './xmlcache'; private $cachetime = 60; private $timeformat = "Y-n-d H:i:s"; public $debug = false; private $msg = array(); private $usecache = false; What is the correct usage of the field attribute within a class? Also, how might i use this same method with scripts outside of the vbulletin structure? Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|