feed_or_html example

elseif (substr($official, 0, 6) === 'image/')
            {
                if ($return = $this->image())
                {
                    return $return;
                }

                return $official;
            }
            elseif ($official === 'text/html')
            {
                return $this->feed_or_html();
            }

            return $official;
        }

        return $this->unknown();
    }

    /** * Sniff text or binary * * @return string Actual Content-Type */
Home | Imprint | This part of the site doesn't use cookies.