* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * DateFormHelper. * * @package symfony * @subpackage helper * @author Fabien Potencier * @version SVN: $Id: DateFormHelper.php 3294 2007-01-16 06:53:15Z fabien $ */ /** * Returns a tag parameters * @return string tag populated with all the months of the year (1 - 12). * * By default, the $value parameter is set to today's month. To override this, simply pass an integer * (1 - 12) to the $value parameter. You can also set the $value parameter to null which will disable * the $value, however this will only be useful if you pass 'include_blank' or 'include_custom' to the $options * parameter. Also, the each month's display title is set to return its respective full month name, which can be easily * overridden by passing the 'use_short_names' or 'use_month_numbers' options to the $options parameter. * For convenience, Symfony also offers the select_date_tag helper function which combines the * select_year_tag, select_month_tag, and select_day_tag functions into a single helper. * * Options: * - include_blank - Includes a blank