/** * Returns true if given datetime string is within this week * @param string $dateString * @param int $userOffset User's offset from GMT (in hours) * @return boolean True if datetime string is within current week * @access public * @link http://book.cakephp.org/view/1472/Testing-Time */ function isThisWeek($dateString, $userOffset = null) { return parent::isThisWeek($dateString, $this->__userOffset($dateString, $userOffset)); }