转换微信格式content
@method getWechatContent
@since 0.0.1
@return {string}
@example $this->getWechatContent();
166784
protected function getWechatContent() {
		$content = $this->content;
		if(preg_match_all('/<img.*?[\/]?>/i', $content, $imgs)) {
			$urls = [];
			foreach($imgs[0] as $img) {
				if(preg_match_all('/(?<=src|_src|data-src)(?:\s*=\s*")(.*?)(?=")/i', $img, $srcs) && isset($srcs[1]) && $srcs[1]) {
					$urls = array_merge($urls, $srcs[1]);
				}
			}
			if($urls) {
				$urls = array_unique($urls);
				foreach($urls as $url) {
					$image = WechatNewsImage::findOne($this->manager->addNewsImage($url));
					if($image) {
						$content = str_replace($image->url_source, $image->url, $content);
					}
				}
			}
		}

		return $content;
	}
343017
public function getContentHtmlAttribute()
    {
        if ($this->is_html) {
            return $this->content;
        }
        return static::$formatter->render($this->attributes['content'], $this);
    }
222552
public function getContent()
    {
        if ( $this->_render_completed )
        {
            return $this->_content;
        }

        foreach ( $this->_view_levels as $view_level )
        {
            if ( $view_level["is_disabled"] )
            {
                continue;
            }

            $this->_view_levels[$view_level["name"]]["is_disabled"] = true;

            if ( $view_level["cache_enabled"] != false )
            {
                $this->getCacheContent( $view_level );
                return;
            }

            include( $this->_views_dir . $view_level["file_name"] . ".phtml" );
            return;
        }
    }
361556
public function getContents()
    {
        $encoder = $this->getEncoder();
        $output = '';

        while ($encoder->valid()) {
            $output .= $encoder->current();
            $encoder->next();
        }

        $this->cursor += strlen($output);
        $this->buffer = null;

        return $output;
    }
217994
public function getContent()
    {
        $content = $this->getRawContent();
        $content = apply_filters('the_content', $content);
        $content = str_replace( ']]>', ']]&gt;', $content);

        return $content;
    }
162069
public function getContent()
    {
        if (null === $this->content) {
            $this->content = $this->client->requestRaw('GET', $this->href);
        }

        return $this->content;
    }
198854
function content()
    {
        if ( $this->Content === null )
        {
            $dataType = $this->dataType();
            if ( is_object( $dataType ) )
            {
                $this->Content = $dataType->objectAttributeContent( $this );
            }
        }
        return $this->Content;
    }
533486
protected function getFrozenHtml()
    {
        $value = $this->getAttribute('value');
        return (('' != $value)? htmlspecialchars($value, ENT_QUOTES, self::getOption('charset')): '&nbsp;') .
               $this->getPersistentContent();
    }
179092
function content()
    {
        if ( $this->Content === null )
        {
            $eventType = $this->eventType();
            $this->Content = $eventType->workflowEventContent( $this );
        }

        return $this->Content;
    }
856334
public function getContentType()
    {
        if (isset($this->responseInfo['content_type'])) {
            $contentType = $this->responseInfo['content_type'];
        } else {
            $contentType = isset($this->responseHeaders['Content-Type']) ? $this->responseHeaders['Content-Type'] : null;
        }
        
        if ($contentType) {
            $contentTypeParts = preg_split('/\s*[;,]\s*/', $contentType);
            return strtolower($contentTypeParts[0]);
        }
        
        return null;
    }
45353
function getHeaderContent(tokens, type, markup) {
  if (tokens[1].children.length === 0) {
    tokens[1].children.push(getEmptyText());
  } else if (tokens[1].children[0].type !== 'text') {
    tokens[1].children.unshift(getEmptyText());
  }
  const content = changeText(tokens[1].children, markup);
  return {
    type,
    content,
    length: getTokensLength(content)
  };
}
67610
public function fcontents() {
        if ($this->contents === null) {
            $cl = $this->contents_lazy;
            $this->contents = $cl();
        }
        return $this->contents;
    }
889488
public function getMsgBody()
    {
        $body = null;

        if (!empty($this->_parts)) {
            if (count($this->_parts) > 1) {
                foreach ($this->_parts as $part) {
                    if ($part->contentType != Content::CT_TEXT_PLAIN && $this->getHeaders()->getMessageContentType() == Content::CT_MULTIPART_ALTERNATIVE) {
                        $body = $part->getContentDecode();
                        break;
                    }

                    $body .= PHP_EOL.$part->getContentDecode();
                }
            } else {
                $body = $this->_parts[0]->getContentDecode();
            }
        }

        return $body;
    }
617789
public function getContent() : string
    {
        return $this->escape ? helpers\e($this->content) : $this->content;
    }
1004510
public function getContent()
    {

        $this->tagName = 'rect';
        $this->addAttribute('x', $this->x);
        $this->addAttribute('y', $this->y);
        $this->addAttribute('width', $this->width);
        $this->addAttribute('height', $this->height);
        $this->addAttribute('fill', $this->color);
        $this->addAttribute('stroke-width', $this->borderWidth);
        $this->addAttribute('stroke', $this->borderColor);

        return parent::getContent();
    }
904753
public function getContent()
    {
        $content = ($this->_size > 0 ? $this->getTypeAsRtfCode() : '')
            . '\brdrw' . $this->_size
            . '\brsp' . $this->_space;

        if ($this->_color && $this->_colorTable) {
            $colorIndex = $this->_colorTable->getColorIndex($this->_color);
            if ($colorIndex !== false) {
                $content .= '\brdrcf' . $colorIndex;
            }
        }

        return $content . ' ';
    }
1209174
public function getContents()
    {
        $callback = $this->detach();
        $result = '';
        if (is_callable($callback)) {
            $result = $callback();
        }
        if (!is_string($result)) {
            return '';
        }

        return $result;
    }