Definition Class
Class name must be descriptive and better always started with block letters. Name of class better also express the position hierarchy and use underscore as hierarchy winnow.
Form
FormUpload
//For example file location Form/Db/validator.php
Form_Db_validator
Class is defined use apply keyword class who’s followed name of class. Definition of class consist two component, that is declaration class and body class. Declaration class is a first row in class. And minimum defined name class. Body defined after name class and between confine streamer { }
//declaration class
Class Form {
//body class
}
Sign up here with your email
ConversionConversion EmoticonEmoticon