public function getWeek($timestamp = false)
    {
        if (!$timestamp) {
            $timestamp = $this->dateTime->getTimestamp();
        }

        return (int) date('W', $timestamp);
    }
public function getWeek($timestamp = false)
    {
        if (!$timestamp) {
            $timestamp = $this->dateTime->getTimestamp();
        }

        return (int) date('W', $timestamp);
    }
public function getWeek ( $ timestamp = false ) { if ( ! $ timestamp ) { $ timestamp = $ this -> dateTime -> getTimestamp ( ) ; } return ( int ) date ( 'W' , $ timestamp ) ; }
This method is intend to return the current week.

@param mixed $timestamp The timestamp to use as date/time-base

@author Benjamin Carl <opensource@clickalicious.de>
@return integer Week
@access public
This method is intend to return the current week .