Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
b9bd3ecf
Commit
b9bd3ecf
authored
11 years ago
by
Christopher Smith
Browse files
Options
Downloads
Patches
Plain Diff
add appropriate visibility keywords to event properties
parent
d668eb9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/events.php
+5
-5
5 additions, 5 deletions
inc/events.php
with
5 additions
and
5 deletions
inc/events.php
+
5
−
5
View file @
b9bd3ecf
...
...
@@ -11,12 +11,12 @@ if(!defined('DOKU_INC')) die('meh.');
class
Doku_Event
{
// public properties
var
$name
=
''
;
// READONLY event name, objects must register against this name to see the event
var
$data
=
null
;
// READWRITE data relevant to the event, no standardised format (YET!)
var
$result
=
null
;
// READWRITE the results of the event action, only relevant in "_AFTER" advise
public
$name
=
''
;
// READONLY event name, objects must register against this name to see the event
public
$data
=
null
;
// READWRITE data relevant to the event, no standardised format (YET!)
public
$result
=
null
;
// READWRITE the results of the event action, only relevant in "_AFTER" advise
// event handlers may modify this if they are preventing the default action
// to provide the after event handlers with event results
var
$canPreventDefault
=
true
;
// READONLY if true, event handlers can prevent the events default action
public
$canPreventDefault
=
true
;
// READONLY if true, event handlers can prevent the events default action
// private properties, event handlers can effect these through the provided methods
var
$_default
=
true
;
// whether or not to carry out the default action associated with the event
...
...
@@ -121,7 +121,7 @@ class Doku_Event_Handler {
// public properties: none
// private properties
var
$_hooks
=
array
();
// array of events and their registered handlers
protected
$_hooks
=
array
();
// array of events and their registered handlers
/**
* event_handler
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment