Location: PHPKode > projects > AModules3 > amodules-3.0.1/lib/Form/AjaxDump.php
<?
/**
 * Displays submit button
 *
 * @author		Romans <hide@address.com>
 * @copyright	See file COPYING
 * @version		$Id$
 */
class Form_AjaxDump extends View {
    function render(){
        $this->owner->template_chunks['form']->append('form_buttons',
		'<input type="button" value="Dump" onclick="dump_'.$this->owner->name.'(\''.$this->name.'\')">');
    }
}
Return current item: AModules3