SproutCMS

This is the code documentation for the SproutCMS project

function injectId()

Injects the current auto-generated id into an array of attributes.
Only applies if an auto-generated id exists and an id isn't already set in the attributes.
The auto-generated id is then cleared.

Usage

void Fb::injectId ( array &$attrs );

Arguments

  1. array $attrs (by reference)
    The attributes

Return value

  • void