SproutCMS

This is the code documentation for the SproutCMS project

function jsonExtraValidate()

Do any additional validation prior to saving the record

Usage

void $RedirectAdminController->jsonExtraValidate ( int $id , Validator $validator );

Arguments

  1. int $id
    Record ID or 0 for adds
  2. Validator $validator
    Validator instance to attach your errors to

Return value

  • void