Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: [ FIXED ] - Error in MacroCommand and Notifier  (Read 8134 times)
m@vrtis
Newbie
*
Posts: 1


View Profile Email
« on: January 01, 2009, 02:11:48 »

the Notifier is calling the parent::__construct() but the Notifier doesn't extend any class

  public function __construct()
  {
    $this->facade = Facade::getInstance();
    parent::__construct();
  }

The MacroCommand is missing the parent::__construct() and I was not able reference to the facade when i tried to extend the MacroCommand.

I removed the parent::__construct() from Notifier and added it to MacroCommand.

I could have done something wrong, but since I've made the changes it has been working fine.

Nice work on the 1.0.1 release
 
--matt

« Last Edit: January 14, 2009, 12:25:24 by puremvc » Logged
hasan
Moderator
Newbie
*****
Posts: 8



View Profile WWW Email
« Reply #1 on: January 02, 2009, 04:16:00 »

Hi Matt,

Thanks for the insight. I've updated trunk with those changes. Let us know if you have a demo you'd like to share with the community ;)

Happy New Year!!

Logged

P E A C E

Hasan
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #2 on: January 03, 2009, 02:37:13 »

Hasan, send me an email with the new version info and I'll bag n tag the new release and update the wiki.

Thanks and Appy New Year. (Kinda nerdy pun, huh?)

Cheers,
-=Cliff>
Logged
hasan
Moderator
Newbie
*****
Posts: 8



View Profile WWW Email
« Reply #3 on: January 13, 2009, 09:46:47 »

@Cliff - Email sent. Guess I'm officially a nerd because I immediately got it...:)

Appy New Year!!
Logged

P E A C E

Hasan
Pages: [1]
Print