Craft\RetourService::getAllStaticRedirects PHP 메소드

getAllStaticRedirects() 공개 메소드

public getAllStaticRedirects ( ) : Array
리턴 Array All of the static redirects
    public function getAllStaticRedirects()
    {
        /* -- Cache it in our class; no need to fetch it more than once */
        if (isset($this->cachedStaticRedirects)) {
            return $this->cachedStaticRedirects;
        }
        $result = craft()->db->createCommand()->select('*')->from('retour_static_redirects')->order('hitCount DESC')->queryAll();
        $this->cachedStaticRedirects = $result;
        return $result;
    }