Are you just starting out with the Smarty template language? Are you trying to install it some place other than in '/usr/local/lib/Smarty-xxxx'? If so and you are having problems, you are not alone.
php/mysql
Object Oriented PHP: Part 8
Object Oriented PHP: Part 7
In case you haven't been reading, here is the series so far:
Getters and Setters
How that our classes are getting more secure we should consider preventing direct access to properties. To that end, we can set getter and setter methods that will, well, get and set the data members.
Object Oriented PHP: Part 6
In case you haven't been reading, here is the series so far:
Class Access Modifiers
Hey, remember access modifiers? Well, we can use that same concept for more than just properties. Just like before, you have public, protected and private modifiers for classes.
Object Oriented PHP: Part 5
In case you haven't been reading, here is the series so far:
Inheritance
Inheritance is the method in which a class is derived from another class, called a parent class.
Object Oriented PHP: Part 4
In case you haven't been reading, here is the series so far:
Object Type Hints
In most programming languages, you can pass a value to a function. PHP is no different.
Object Oriented PHP: Part 2
In case you haven't been reading, here is the series so far:
Last time, I introduced the concepts of classes and objects. To recap, a class is a template and an object is the product of that template. Next on the list are properties, constructors and methods.
Let's start with the class MyFirstClass from part 1 and add some properties.