POMO_StringReader::__construct() WordPress Method

The POMO_StringReader::__construct() method is used to create a new string reader object for reading strings from a given string. This method takes a single string argument which is the string to be read.

POMO_StringReader::__construct( $str = '' ) #

PHP5 constructor.


Source

File: wp-includes/pomo/streams.php

		public function __construct( $str = '' ) {
			parent::__construct();
			$this->_str = $str;
			$this->_pos = 0;
		}

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.