SproutCMS

This is the code documentation for the SproutCMS project

function getCategoryClause()

Gets a clause to restrict a query to the set of categories the current admin belongs to

Usage

string PerRecordPerms::getCategoryClause ( );

Return value

  • string
    Example: "(operator_categories = '*' OR operator_categories LIKE '%,123,%')"