. * * @package PhpMyObject * @author Nicolas Boiteux * @link http://pmo.developpez.com/ * @since PhoMyObject v0.14 * @version $Revision: $ * @copyright Copyright (C) 2007-2008 Nicolas Boiteux * @license GPLv3 {@link http://www.gnu.org/licenses/gpl} * @filesource */ /** * provides the much needed helloworld() method to those film_actor people * who need so much publicity * * The name of the class is identical to the database table name * * This example implements a hellworld() method for a PMO_Object based on * the film_actor database table. This class will be intanciated instead * of the generic one. * * For this to work, you must provide its name to the table_classname * property of the PMO_MyTable/PMO_MyTable_film_actor.php file that will * get generated by PMO on first instanciation of a PMO_Object for the * table film_actor. * * @package PhpMyObject */ class film_actor extends PMO_MyObject{ /** * emits a huge "Hello World !" to all the World Wide Web media */ public function helloworld(){ echo('

hello world !

'); } } ?>