JournalOAI::__construct PHP Method

__construct() public method

public __construct ( $config )
    function __construct($config)
    {
        parent::__construct($config);
        $this->site = Request::getSite();
        $this->journal = Request::getJournal();
        $this->journalId = isset($this->journal) ? $this->journal->getId() : null;
        $this->dao = DAORegistry::getDAO('OAIDAO');
        $this->dao->setOAI($this);
    }