XMF Cookbook
  • Introduction
  • XMF Cookbook
  • Basic Ingredients
    • Namespaces
    • Autoloading
    • Debugging
    • Forward Compatibility
  • Recipes
    • Introducing Module Helpers
    • Using the Permission Helper
      • Checking Permissions
      • Managing Item Permissions
    • Using the Session Helper
    • Using JSON Web Tokens
    • Altering Database Tables
    • Migrating a Module's Database
    • Loading Initial Data
    • Module Admin Pages
      • Hide and Seek with Icons
      • Standard Admin Pages
    • Manage Metadata
    • Highlighting Content
  • Reference
    • Assert
      • Assertions
    • Database
      • Migrate
      • TableLoad
      • Tables
        • Getting Started
        • Table Operations
        • Working with Columns
        • Working with Indexes
        • Changing Table Data
        • Interacting with the Work Queue
        • Error Info and Debugging
    • Debug
    • FilterInput
    • Highlighter
    • IPAddress
    • Jwt
      • JsonWebToken
      • KeyFactory
      • TokenFactory
      • TokenReader
    • Key
      • ArrayStorage
      • Basic
      • FileStorage
      • KeyAbstract
      • StorageInterface
    • Language
    • Metagen
      • Extracting Data
      • Applying Data
    • Module
      • Admin
      • Helper
      • Helper
        • AbstractHelper
        • Cache
        • GenericHelper
        • Permission
        • Session
    • ProxyCheck
    • Random
    • Request
    • StopWords
    • Uuid
    • Yaml
  • Credits
  • License:
  • Table of Content
Powered by GitBook
On this page

Recipes

PreviousForward CompatibilityNextIntroducing Module Helpers

Last updated 6 years ago

    • Simplify Reading Module Configs

    • Easy Access to Module Object

      • Does the User Have Permission for an Item?

      • Leave if the User Does Not Have Permission

      • Assign Permissions to an Item From a Form

      • Clean Up Permissions When an Item is Deleted

    • Save and Retrieve Context

    • Ajax Protection with JWT

    • Rename a Database Table

    • Add a Column to a Table

    • Generate a Schema Definition

    • Basic Synchronization

    • Rename a Set of Tables

    • Convert a Changed Column

    • Simple Table Loading

    • Apply a Transform

    • Save Table Data in YAML

    • Case Study

      • Where are the icons?

      • menu.php icons

      • index.php conversion

      • pages.php conversion

    • SEO Slugs

    • Generate a Teaser

    • Generate Keyword Lists

    • Generate a Search Summary

Introducing Module Helpers
Using the Permission Helper
Checking Permissions
Managing Item Permissions
Using the Session Helper
Use JSON Web Tokens
Altering Database Tables
Migrating a Module's Database
Loading Initial Data
Module Admin Pages
Hide and Seek with Icons
Standard Admin Pages
Feature Your Content
Highlighting Content