Changeset 32672 for trunk/src/wp-includes/pomo/streams.php
- Timestamp:
- 05/31/2015 03:17:50 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/streams.php
r31829 r32672 102 102 } 103 103 104 104 /** 105 * @return int 106 */ 105 107 function pos() { 106 108 return $this->_pos; 107 109 } 108 110 111 /** 112 * @return true 113 */ 109 114 function is_resource() { 110 115 return true; 111 116 } 112 117 118 /** 119 * @return true 120 */ 113 121 function close() { 114 122 return true; … … 147 155 } 148 156 157 /** 158 * @return bool 159 */ 149 160 function is_resource() { 150 161 return is_resource($this->_f); 151 162 } 152 163 164 /** 165 * @return bool 166 */ 153 167 function feof() { 154 168 return feof($this->_f); 155 169 } 156 170 171 /** 172 * @return bool 173 */ 157 174 function close() { 158 175 return fclose($this->_f); 159 176 } 160 177 178 /** 179 * @return string 180 */ 161 181 function read_all() { 162 182 $all = ''; … … 204 224 } 205 225 226 /** 227 * @return int 228 */ 206 229 function length() { 207 230 return $this->strlen($this->_str); 208 231 } 209 232 233 /** 234 * @return string 235 */ 210 236 function read_all() { 211 237 return $this->substr($this->_str, $this->_pos, $this->strlen($this->_str));
Note: See TracChangeset
for help on using the changeset viewer.