You are here

interface cmfcCalendarV1Plugin in Calendar Systems 7.2

Same name and namespace in other branches
  1. 8 calendar/v1/calendarV1.plugin.class.inc.php \cmfcCalendarV1Plugin
  2. 8.2 calendar/v1/calendarV1.plugin.class.inc.php \cmfcCalendarV1Plugin
  3. 7 calendar/v1/calendarV1.plugin.class.inc.php \cmfcCalendarV1Plugin

Hierarchy

Expanded class hierarchy of cmfcCalendarV1Plugin

All classes that implement cmfcCalendarV1Plugin

File

calendar/v1/calendarV1.plugin.class.inc.php, line 2

View source
interface cmfcCalendarV1Plugin {
  public function timestampToInfoArray($timestamp = null);
  public function infoArrayToTimestamp($arr);

  /**
   * Implementation of PHP date function
   * This is the simplified versino by Sina Salek
   */
  public function date($format, $maket = null);

  /**
   * Implementation of PHP strtotime function
   */
  public function strtotime($value);
  public function fromGregorian($g_y, $g_m, $g_d);
  public function toGregorian($j_y, $j_m, $j_d);

  /**
   * @desc accept array,timestamp and string as input datetime in jalali or gregorian format
   */
  public function smartGet($type, $value = "now");
  public function makeTime($hour = "", $minute = "", $second = "", $jmonth = "", $jday = "", $jyear = "");
  public function isDateValid($month, $day, $year);
  public function dateDiff($first, $second);

  /**
   * Get list of translatable strings
   */
  public function getStrings();

}

Members

Namesort descending Modifiers Type Description Overrides
cmfcCalendarV1Plugin::date public function Implementation of PHP date function This is the simplified versino by Sina Salek 5
cmfcCalendarV1Plugin::dateDiff public function 5
cmfcCalendarV1Plugin::fromGregorian public function 5
cmfcCalendarV1Plugin::getStrings public function Get list of translatable strings
cmfcCalendarV1Plugin::infoArrayToTimestamp public function
cmfcCalendarV1Plugin::isDateValid public function 5
cmfcCalendarV1Plugin::makeTime public function 5
cmfcCalendarV1Plugin::smartGet public function @desc accept array,timestamp and string as input datetime in jalali or gregorian format
cmfcCalendarV1Plugin::strtotime public function Implementation of PHP strtotime function 5
cmfcCalendarV1Plugin::timestampToInfoArray public function
cmfcCalendarV1Plugin::toGregorian public function 5