SproutCMS

This is the code documentation for the SproutCMS project

function render()

Renders calendar HTML

Usage

string Calendar::render ( int $month , int $year , callable $callback [, array $options ] );

Arguments

  1. int $month
    1 through to 12 (Jan - Dec)
  2. int $year
  3. callable $callback
    Render inner HTML for the cells
  4. array $options = NULL
    [week_begins,day_format,show_month,month_format]

Return value

  • string
    HTML