[PHP] OO: inheritance and function naming

2005-06-05 Thread Script Head
i have the following structure:

class product {

  function create() {
  // db stuff
  }
}

class product_model {
  function create() {
  // db stuff
  }
}

class product_submodel {
  function create() {
  // db class
  }
}

i would like class product to extend class product_model and class
product_model to exten class product_submodel. how would i go about
this since all three classes contain a method create?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Frameworks

2005-12-24 Thread Script Head
Nobody has mentioned Fusebox (www.fusebox.org). I have been using it to
develop PHP applications for about 2 years. It has proven to be extremely
flexible when a large number of developers collaborate on one project.