# PHP 函数:hw\_GetText()

**URL:** <https://www.isharkfly.com/t/php-hw-gettext/3437>\
**Category:** PHP\
**Created:** [October 17, 2012, 2:38am UTC](https://www.isharkfly.com/t/php-hw-gettext/3437 "2012-10-17T02:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 17, 2012, 2:38am UTC](https://www.isharkfly.com/t/php-hw-gettext/3437/1 "2012-10-17T02:38:31Z")

</div>

取得纯文字文件。

语法: int hw\_gettext(int connection, int objectID, int [rootID]);

返回值: 整数

函数种类: 网络系统

内容说明  
本函数用来取得纯文字文件，无法打开其它格式的文件。参数 connection 为和 Hyperwave 服务器的连接代码。参数 objectID 为指定的类 ID 值。参数 rootID 可省略，默认值为 0，表自动在锚 (ancher) 链接处加上适当的路径字符串。
