Lines Matching refs:type

129      * No known feed type
569 * (false, or anything type-cast to false, disables this feature)
756 * This tells SimplePie to ignore the content-type provided by the server.
1259 * Set which class SimplePie uses for content-type sniffing
1621 if (isset($headers['content-type']) && preg_match('/;\x20?charset=([^;]*)/i', $headers['content-type'], $charset)) {
1627 if (isset($headers['content-type']) && preg_match('/;\x20?charset=([^;]*)/i', $headers['content-type'], $charset)) {
1632 // Text MIME-type default
1710 * @return array|true Returns true if the data was loaded from the cache, or an array of HTTP headers and sniffed type
1721 '%s(): Argument #1 ($cache) must be of type %s|false',
1836 $copyContentType = $file->headers['content-type'];
1873 $this->error = "A feed could not be found at `$this->feed_url`; the status code is `$copyStatusCode` and content-type is `$copyContentType`";
1958 * Send the content-type header with correct encoding
1961 * the correct {@link http://www.iana.org/assignments/media-types/ mime-type}
1974 * @param string $mime MIME type to serve the page as
1979 $header = "Content-type: $mime;";
1990 * Get the type of the feed
2012 * @see \SimplePie\SimplePie::TYPE_ALL Any known/supported feed type.
2017 if (!isset($this->data['type'])) {
2018 $this->data['type'] = self::TYPE_ALL;
2020 $this->data['type'] &= self::TYPE_ATOM_10;
2022 $this->data['type'] &= self::TYPE_ATOM_03;
2028 $this->data['type'] &= self::TYPE_RSS_10;
2034 $this->data['type'] &= self::TYPE_RSS_090;
2037 $this->data['type'] &= self::TYPE_RSS_ALL;
2041 $this->data['type'] &= self::TYPE_RSS_091;
2045 $this->data['type'] &= self::TYPE_RSS_091_NETSCAPE;
2049 $this->data['type'] &= self::TYPE_RSS_091_USERLAND;
2056 $this->data['type'] &= self::TYPE_RSS_092;
2060 $this->data['type'] &= self::TYPE_RSS_093;
2064 $this->data['type'] &= self::TYPE_RSS_094;
2068 $this->data['type'] &= self::TYPE_RSS_20;
2073 $this->data['type'] = self::TYPE_NONE;
2076 return $this->data['type'];
2160 $type = $this->get_type();
2161 if ($type & self::TYPE_ATOM_10) {
2166 if ($type & self::TYPE_ATOM_03) {
2171 if ($type & self::TYPE_RSS_RDF) {
2176 if ($type & self::TYPE_RSS_SYNDICATION) {
2200 $type = $this->get_type();
2201 if ($type & self::TYPE_ATOM_ALL) {
2206 if ($type & self::TYPE_RSS_10) {
2213 if ($type & self::TYPE_RSS_090) {
2220 if ($type & self::TYPE_RSS_SYNDICATION) {
2246 $type = $this->get_type();
2247 if ($type & self::TYPE_RSS_10) {
2254 if ($type & self::TYPE_RSS_090) {
2261 if ($type & self::TYPE_RSS_SYNDICATION) {
2300 * @param int $type One of the \SimplePie\SimplePie::CONSTRUCT_* constants
2304 public function sanitize($data, $type, $base = '')
2307 return $this->sanitize->sanitize($data, $type, $base);