<?php
/**
 * ISO Project
 *
 * @category   Malf
 * @package    Malf_View
 * @subpackage Helper
 * @version    1.0
 */

/** Zend_View_Helper_Abstract.php */
require_once 'Zend/View/Helper/Abstract.php';

/**
 * Helper for shorten call for retrieving values from zend form elements
 */
class Malf_View_Helper_Val extends Zend_View_Helper_Abstract
{
    /**
     * Shortens form datamining.
     *
     * @access public
     *
     * @return string baseUrl for the link href attribute.
     */
    public function val($form, $element)
    {
        return $form->getElement($element)->getValue();
    }
}
