PHP Class TI_Calendar, TastyIgniter

Inheritance: extends CI_Calendar
Afficher le fichier Open project: tastyigniter/tastyigniter

Méthodes publiques

Свойство Type Description
$day_type
$show_next_prev
$show_other_days
$start_day

Méthodes publiques

Méthode Description
default_template ( ) : array Set Default Template Data
generate ( string $year = '', string $month = '', array $data = [] ) : string Generate the calendar
parse_template ( ) : CI_Calendar Parse Template

Method Details

default_template() public méthode

This is used in the event that the user has not created their own template
public default_template ( ) : array
Résultat array

generate() public méthode

Generate the calendar
public generate ( string $year = '', string $month = '', array $data = [] ) : string
$year string
$month string
$data array the data to be shown in the calendar cells
Résultat string

parse_template() public méthode

Harvests the data within the template {pseudo-variables} used to display the calendar
public parse_template ( ) : CI_Calendar
Résultat CI_Calendar

Property Details

$day_type public_oe property

public $day_type

$show_next_prev public_oe property

public $show_next_prev

$show_other_days public_oe property

public $show_other_days

$start_day public_oe property

public $start_day