Contents

 
Home
PHPRunner 7.1 manual
Prev Page Next Page
 
 

Event: BeforeProcess<PageName>

 

Description

Function BeforeProcess<PageName> is executed before any processing takes places. Use this event to redirect user to another page, send an email or log user action in the database.

Syntax

BeforeProcess<PageName>($conn,$pageObject)

Arguments

$conn - database connection handle.

$pageObject - an object representing the current page. For more information, see Page class.

Applies to pages

List, View, Add, Edit, Print, Search, Export, Report, Chart, Login, Register, Password reminder, Change password, Menu

Recommended predefined actions and sample events

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

Email selected records

Implementing 'single sign on' feature

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)