SproutCMS

This is the code documentation for the SproutCMS project

function _getEditLiveUrl()

Return the URL to use for the 'view live site' button, when editing a given record

Usage

string|null $ManagedAdminController->_getEditLiveUrl ( int $item_id );

Arguments

  1. int $item_id
    Record which is being editied

Return value

  • string
    URL, either absolute or relative
  • null
    Default url should be used