On this page
POMO_CachedFileReader::__construct( $filename )
PHP5 constructor.
Source
File: wp-includes/pomo/streams.php. View all references
public function __construct( $filename ) {
parent::__construct();
$this->_str = file_get_contents( $filename );
if ( false === $this->_str ) {
return false;
}
$this->_pos = 0;
}
Related
Uses
| Uses | Description |
|---|---|
| POMO_StringReader::__construct() wp-includes/pomo/streams.php | PHP5 constructor. |
Used By
| Used By | Description |
|---|---|
| POMO_CachedIntFileReader::__construct() wp-includes/pomo/streams.php | PHP5 constructor. |
| POMO_CachedFileReader::POMO_CachedFileReader() wp-includes/pomo/streams.php | PHP4 constructor. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/POMO_CachedFileReader/__construct