public function setTimeFrame($begin, $end)
    {
        $t = $this->getNewsModelAdapter()->getTable();

        $this->columns[] = "$t.date>=? AND $t.date<=?";
        $this->values[] = $begin;
        $this->values[] = $end;
    }
public function setTimeFrame($begin, $end)
    {
        $t = $this->getNewsModelAdapter()->getTable();

        $this->columns[] = "$t.date>=? AND $t.date<=?";
        $this->values[] = $begin;
        $this->values[] = $end;
    }
public function setTimeFrame ( $ begin , $ end ) { $ t = $ this -> getNewsModelAdapter ( ) -> getTable ( ) ; $ this -> columns [ ] = "$t.date>=? AND $t.date<=?" ; $ this -> values [ ] = $ begin ; $ this -> values [ ] = $ end ; }
Set the time frame.

@param int $begin
@param int $end
Set the time frame .