Home
My Faqts
Contributors
About
Help
News: Faqts.com
search
is now functional again. Thank you for your patience.
faqts
:
Computers
:
Programming
:
Languages
:
PHP
:
kms
: Classes
+ Search
Enter your search terms
Submit search form
Web
faqts.com
Folders
There are no folders in this category
Share Your Knowledge
Ask a Question
Questions
Recently Asked Questions
Does the object get passed by value or by reference?
$this and $that
Can I use a class from within a function?
Is there a tool to document your classes, similar to Javadoc in Java?
Are PHP Class variable declarations necessary?
Random Questions
Should I write get and set methods for my objects?
Can I define a method called 'empty' inside a class?
Can a class have two parents?
How can I call an ancestor's constructor method?
$this and $that
Can I define a method called 'empty' inside a class?
How do I reference a variable that is defined inside a class?
Can I string together object references, eg: $foo->bar()->try() ?
Can I use include or require inside a class definition?
Can I put include or require inside a class definition?
How does PHP handle arrays of objects?
Can I return a value from a class constructor?
How can I call a polymorphed parent function?
I have a subclass with method foo(), can I call foo() in the parent?
How can I serialize a class in PHP?
Can I make an assignment to $this in a class method?
How can I return an error from a class constructor?
Does PHP have multiple inheritence?
Can a class have two parents?
How can I tell if a class is defined?
How can I call an ancestor's constructor method?
What happens when I cast an object as an array?
How do I get a list of object properties?
How can I get the class name of an object?
Is it bad PHP style to set an object variable directly?
Should I write get and set methods for my objects?
Can PHP do "reference" but not "copy" on variables in classes?
Can I store an array of objects as an object variable?
How can i acess a variable inside a class that was declared in other module(included by require/include) ?
How do I call a class method from array_walk? e.g. array_walk( fruits, "$this->print_array" ); - does not work.
How can I use a global variable inside a class?
how to access an object variable using a variable variable e.g. object->var_a but "_a" should be read from a str. which instead could contain "_b"
Does PHP surpport override and polymorphism?
Know of any basic tutorials on PHP Classes and OOP?
Does PHP have a garbage collector? or how do I release the Memory when I have done with my object ?
How do you pass an instance of an object between pages in PHP?
How do I call the parent's constructor without knowing the class name of the parent?
Are PHP Class variable declarations necessary?
Is there a tool to document your classes, similar to Javadoc in Java?
Can I use a class from within a function?
$this and $that
Does the object get passed by value or by reference?
Unanswered Questions
How can I improve performance when using multiple class files?
Can you make an Instance of One Class(FuelTank) a data member of another Class(Vehicle) in PHP4? i.e. class Vehicle{ oneLitreFuelTank=new FuelTank;}
What would cause the inability to access class variables from objects created with the "new classname" method?
How to get the class instance name, so that "$this->a_method" could be passed as a variable function?
Why does parent:: not work across source file boundaries?
What is cfunction? It's in the samples, but undocumented!
How can I use variables (from outside a class), inside a class to build a dynamic constructor!
How can I chain an object with an other object of the same class
How can I something like that: if($exp){ class foo extends my1} else {class foo extends my2} ?
How define a class A with a var of type B, where class B contains a var of type A
I can't access class properties with register_shutdown_function.
Can I assign multiple classes to one variable while maintaining all class methods and functions?
searching for elegant fix to the single inheritance limitation, parents can't extend eachother
Can an object property itself be an object? How do you use them?
How do I set the values stored in an objects array via form fields? ie What do I assign "name"
is it possible to have user defined classes or data structures in PHP ?
Are classes in PHP efficient during run-time, vs conditional includes of standard code blocks?
Static Abstract Class Not Possible?
How can I get the names of all subobjects of an object?
Where can I find detailed information concerning multiple instances of a base class?
How to cast a class object in to an array & get that class's properties ?
How to cast a class object in to an array & get that class's properties ?
How to cast a class object in to an array & get that class's properties ?
How can i call a class object if it is loaded in other page?
how can i define a friend class for given class?(like in c++)
How can I split a large (6 MB) class into several files to ease the maintaining process?
When passing a object between pages is it passed by value or by reference?
PHP give me a fatal error when the script try to create a NEW instance of a class salved in \PHP5\p