Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
firewall
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Extensions
firewall
Merge requests
!8
one time token for slow down attack
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
one time token for slow down attack
sunil/firewall:one_time_token_2
into
master
Overview
0
Commits
1
Pipelines
0
Changes
12
Closed
sunil
requested to merge
sunil/firewall:one_time_token_2
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
12
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
fd7086b7
1 commit,
2 years ago
12 files
+
655
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
CRM/Firewall/BAO/FirewallOnetimetoken.php
0 → 100644
+
26
−
0
Options
<?php
use
CRM_Firewall_ExtensionUtil
as
E
;
class
CRM_Firewall_BAO_FirewallOnetimetoken
extends
CRM_Firewall_DAO_FirewallOnetimetoken
{
/**
* Create a new FirewallOnetimetoken based on array-data
*
* @param array $params key-value pairs
* @return CRM_Firewall_DAO_FirewallOnetimetoken|NULL
*
public static function create($params) {
$className = 'CRM_Firewall_DAO_FirewallOnetimetoken';
$entityName = 'FirewallOnetimetoken';
$hook = empty($params['id']) ? 'create' : 'edit';
CRM_Utils_Hook::pre($hook, $entityName, CRM_Utils_Array::value('id', $params), $params);
$instance = new $className();
$instance->copyValues($params);
$instance->save();
CRM_Utils_Hook::post($hook, $entityName, $instance->id, $instance);
return $instance;
} */
}
Loading