-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDRP.php
More file actions
21 lines (20 loc) · 760 Bytes
/
DRP.php
File metadata and controls
21 lines (20 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
namespace phpWTL;
/**
* Helper class for data retrieval policy constants
*
* @author Michael Beyer <mgbeyer@gmx.de>
* @version v0.1.1
* @api All constant names (actual values might be subject to change)
*/
class DRP {
/** Policy for the retrieval of content-length. */
const DRP_CONTENT_LENGTH_RETRIEVAL = 100;
/** Content-length retrieval: Measure the size of the php script (default). */
const DRP_CLR_SCRIPT = 101;
/** Content-length retrieval: Measure the size of the php output buffer (approximation). */
const DRP_CLR_BUFFER = 102;
/** Content-length retrieval: Measure the size of an individual file. The filename/path is set via the "parameter" attribute of the DataRetrievalPolicy object. */
const DRP_CLR_CUSTOM = 103;
}
?>