public function getMonthName($abbr = false, $length = false) { $monthName = Calc::getMonthFullname($this->month); if ($abbr) { if ($length === false) { $length = $this->getMonthAbbreviationLength(); } $monthName = self::crop($monthName, $length); } return $this->applyStdWrap($monthName); }
/** * Gets the full name or abbriviated name of this month * * Gets the full name or abbriviated name of this month * * @access public * @param boolean $abbr * abbrivate the name * @return string name of this month */ function getMonthName($abbr = false) { if ($abbr) { return Calc::getMonthAbbrname($this->month); } else { return Calc::getMonthFullname($this->month); } }