Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Utility functions

projectURL function

Scroll Prev Next More

Description

Returns the base URL of your [project in the run time, for instance http://localhost:8086 or https://website.com/project. Usually it makes sense to use it together with makePageLink() function.

Syntax

projectURL()

Example 1

Create a complete link to page list1 of cars table.

 

projectURL() . makePageLink( "cars", "list", null, array( "page" => "list1" ))  

 

Returns https://website.com/project/cars_list.php?page=list1

 

 

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software