Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 650 Bytes

entity.url.md

File metadata and controls

21 lines (15 loc) · 650 Bytes

$.usosEntity.url(entityCode, ...)

Returns an URL pointing to a "home page" for the given entity. The URL is generated based on the entityURLs set during the $.usosCore.init call.

Demos

How to call it

  • $.usosEntity.url('entity/users/user', user_id)
  • $.usosEntity.url('entity/fac/faculty', fac_id)
  • etc.

It should work with all entities described in the $.usosEntity.label function.