POMO_FileReader::__construct() WordPress Method

The POMO_FileReader::__construct() method is used to construct a new POMO_FileReader object. This object can be used to read PO and MO files.

POMO_FileReader::__construct( string $filename ) #


Parameters

$filename

(string)(Required)


Top ↑

Source

File: wp-includes/pomo/streams.php

		public function __construct( $filename ) {
			parent::__construct();
			$this->_f = fopen( $filename, 'rb' );
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.