Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 40
  1. #21
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    There is a section in the core that handles class management, but I don't have a function that just calls them all at once.

    It is setup where each page has hooks, and in the page information it tells what needs to be done in what hook.

  2. #22
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    There is a section in the core that handles class management, but I don't have a function that just calls them all at once.

    It is setup where each page has hooks, and in the page information it tells what needs to be done in what hook.
    Sounds a bit complicated to me, should just be something to do:

    $this->$class_name = new $class_name();
    $this->$class_name->core = $this;


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  3. #23
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Klydo View Post
    I'm amazed you haven't put Elliot Minor
    Agreed, nice design

    I would love to BETA test too

    I gonna check out virb now, as i have never heard of it.

  4. #24
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    Sounds a bit complicated to me, should just be something to do:

    $this->$class_name = new $class_name();
    $this->$class_name->core = $this;
    I have a table in MySQL called classes which has fields calld dependencies, blabla. Its confusing.

  5. #25
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    see i understand classes and how you can refer to them or sumthing

    PHP Code:
    class Display {
    const 
    Monkey "Monkeys Like Bannanas";
    const 
    Giraffe "Giraffes like trees";
    const 
    Tigers "Tigers like people";
    }
    $animal $_SESSION[animal];
    print 
    "Display::$animal"
    Or something :S

    But i don't get the $this> thing yet.

    I find it funny how theres Flux + Klydo. Imo they should team up

    Unless they are completely different?

  6. #26
    Join Date
    Mar 2008
    Posts
    779
    Tokens
    0

    Default

    Klydo is a General Social Network where as Flux is a Music Social Network. Klydo is in the area such as MySpace, Bebo and Netlog. While Flux is more with places like PureVolume and Last.FM.

    It would be pretty cool is Klydo and Flux teamed up in some respected. However I don't see how it would benefit either parties or our users. We can't really offer Flux anything and Flux can't really offer us anything.
    Youmeo - Your Social Reunion
    You can follow development at Twitter & visually at Flickr!

  7. #27
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Klydo View Post
    Klydo is a General Social Network where as Flux is a Music Social Network. Klydo is in the area such as MySpace, Bebo and Netlog. While Flux is more with places like PureVolume and Last.FM.

    It would be pretty cool is Klydo and Flux teamed up in some respected. However I don't see how it would benefit either parties or our users. We can't really offer Flux anything and Flux can't really offer us anything.
    3 goood coders

  8. #28
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    I'm loving the design aspect from what I can see and I'm sure it'll be really nice when it's open, goodluck with it Mr.Invent

  9. #29
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    $this - I believe (I am not an expert get this verified) refers to something inside a class, ie. nested functions; class-global variables and a few other ways ex.

    PHP Code:
    // in a db class
    protected function myF {
        
    $this->query("")
    // etc, this being calling another function defined or not defined, as long as it is defined at one point - we can bypass having a function already as calling the new when you use the class will go through it all, giving you room to move functions about. 
    How could this hapen to meeeeeeeeeeeeeee?lol.

  10. #30
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    I have a table in MySQL called classes which has fields calld dependencies, blabla. Its confusing.
    That just sounds slow to me.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •