/** * @param string $xmlString * @param phpMorphy_UserDict_VisitorInterface $visitor * @param phpMorphy_UserDict_EncodingConverter $encodingConverter */ static function loadFromString($xmlString, phpMorphy_UserDict_VisitorInterface $visitor, phpMorphy_UserDict_EncodingConverter $encodingConverter) { $that = new phpMorphy_UserDict_XmlLoader($visitor, $encodingConverter); return $that->load($xmlString, true); }
/** * @param string $xmlFilePath */ function loadFromXml($xmlFilePath) { phpMorphy_UserDict_XmlLoader::loadFromFile($xmlFilePath, $this, $this->encoding_converter); }