Image view helper to generate an image tag Arguments to pass are: Uniqe name for the image tag. Will be the id attribute. Path to the image file. Tag Attributes. (alt tag is required and it will generate the title tag with the same value) Optional string parameter. Currently if you enter thumnail it will…
Would it be better if all PHP string functions are methods of a String class? Would that make working with strings an easy job? and make the code easier to read and maintain? Here is my experiment on wrapping some of the built in functions into a class.
FlashMessenger is an action helper in Zend Framework used to pass messages for the users on the next request. Thats all good, but what about presenting the messages for the users? how to store different type of messages, System, Error, or Success messages?
PHP 5.6 comes with some new features. This post is to preview the Argument unpacking.