Jump to content

ragtek

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by ragtek

  1. hi And what if i want to use a Class inside a Class? example: class vbtwitter{ /** * Twitter object * * @var twitter object */ private $twitterconnection; function __construct() { } function init() { global $vbulletin; $this->twitterconnection = new Twitter($vbulletin->userinfo['twitter_username'], $vbulletin->userinfo['twitter_password'], 'vbtwitter'); } public function sendthread(&$threadid) { // here now call some methods from $this->twitterconnection // this->twitterconnection->methode.... }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.