dozabt4329 2010-06-02 17:17
浏览 28
已采纳

如何以编程方式应用Drupal输入过滤器?

I am currently exporting Drupal data to an external source (XML) programmatically. However, I want the data to run through the site's default Input Format (the filter that runs before user content is displayed on the website) before being written to file.

How do I programmatically apply a Drupal input filter? Is there a specific function call or hook for this purpose? If so, links/advice would be most appreciated.

  • 写回答

1条回答 默认 最新

  • dongwu4834 2010-06-02 18:39
    关注

    You are looking for check_markup (D6), check_markup (D7)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?