public function checkIfpageShouldBeIndexed($uid, $language_uid)
    {
        $index = true;

        if ($this->cachedPageRecords[$language_uid][$uid]['hidden']) {
            $index = false;
        }

        if ($this->cachedPageRecords[$language_uid][$uid]['no_search']) {
            $index = false;
        }

        if (!in_array($this->cachedPageRecords[$language_uid][$uid]['doktype'], $this->indexDokTypes)) {
            $index = false;
        }

        return $index;
    }
public function checkIfpageShouldBeIndexed($uid, $language_uid)
    {
        $index = true;

        if ($this->cachedPageRecords[$language_uid][$uid]['hidden']) {
            $index = false;
        }

        if ($this->cachedPageRecords[$language_uid][$uid]['no_search']) {
            $index = false;
        }

        if (!in_array($this->cachedPageRecords[$language_uid][$uid]['doktype'], $this->indexDokTypes)) {
            $index = false;
        }

        return $index;
    }
public function checkIfpageShouldBeIndexed ( $ uid , $ language_uid ) { $ index = true ; if ( $ this -> cachedPageRecords [ $ language_uid ] [ $ uid ] [ 'hidden' ] ) { $ index = false ; } if ( $ this -> cachedPageRecords [ $ language_uid ] [ $ uid ] [ 'no_search' ] ) { $ index = false ; } if ( ! in_array ( $ this -> cachedPageRecords [ $ language_uid ] [ $ uid ] [ 'doktype' ] , $ this -> indexDokTypes ) ) { $ index = false ; } return $ index ; }
checks wether the given page should go to the index.
Checks the doktype and wethe the "hidden" or "no_index" flags
are set.

@param integer $uid
@param integer $language_uid
@return boolean
checks wether the given page should go to the index . Checks the doktype and wethe the hidden or no_index flags are set .