SproutCMS

This is the code documentation for the SproutCMS project

function duplicate()

Shows a duplication form for the specified item
This uses the edit form with some string replacements

Usage

void $AdminController->duplicate ( string $type , int $id );

Arguments

  1. string $type
    The type of item to show the duplication form of
  2. int $id
    The id of the record to duplicate

Return value

  • void