Originally Posted by
dbltoe
MC# got quicker fingers
But your question was a good one.
To answer the now unseen question, I would expect the code to look like this at or around that line:
Code:
* @return string The auto-generated URI for the EZ-Page and language.
*/
public function autogenEZPageURIMapping($id, $name, $language_code, $language_id): string
{
global $db;
The red text is where PHP is starting to step into the land of other languages and allowing the identification of the type of data being returned by the function. It isn't required for Ceon URI Mapping to work (nor for the software to work in PHP 7.x... yet...) and will cause errors on PHP versions less than 7.0. Similarly, the use of [] instead of array() can be found as well as the spaceship operator and a few other new things made available in PHP 7.x.
Bookmarks