__construct() __construct(object $view = null) constructor stores a reference to the view this element will reside on Parameters object $view object this element will reside on
render() render( $data) This method is responsible for actually drawing the view. It should be implemented in subclasses. Parameters $data contains all external data from the controller that should be used in drawing the view