public function setRecurring($frequency, $unit, $start_date)
    {
        $this->_recurring_options = new AnConfig(array(
             'frequency' => $frequency, 'unit' => $unit, 'start_date' => $start_date,
        ));

        return $this;
    }
public function setRecurring($frequency, $unit, $start_date)
    {
        $this->_recurring_options = new AnConfig(array(
             'frequency' => $frequency, 'unit' => $unit, 'start_date' => $start_date,
        ));

        return $this;
    }
public function setRecurring ( $ frequency , $ unit , $ start_date ) { $ this -> _recurring_options = new AnConfig ( array ( 'frequency' => $ frequency , 'unit' => $ unit , 'start_date' => $ start_date , ) ) ; return $ this ; }
Set the recurring options.

@param int    $frequency  The frequency
@param string $unit       The unit for which the frequency happens
@param AnDate  $start_date The start date
Set the recurring options .