Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-builder
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-builder
Merge requests
!17
TemplateRenderer interface.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
TemplateRenderer interface.
feature/template-renderer
into
master
Overview
6
Commits
1
Pipelines
1
Changes
1
Closed
Krzysztof Dyszczyk
requested to merge
feature/template-renderer
into
master
6 years ago
Overview
6
Commits
1
Pipelines
1
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
fafc6f1e
1 commit,
6 years ago
1 file
+
31
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Plugin/TemplateRenderer.php
0 → 100644
+
31
−
0
Options
<?php
namespace
WPDesk\PluginBuilder\Plugin
;
interface
TemplateRenderer
{
/**
* Init base variables for plugin
*/
public
function
init_template_base_variables
();
/**
* Renders end returns selected template
*
* @param string $name Name of the template.
* @param string $path Additional inner path to the template.
* @param array $args args Accessible from template.
*
* @return string
*/
public
function
load_template
(
$name
,
$path
=
''
,
$args
=
array
()
);
/**
* Get template path.
*
* @return string
*/
public
function
get_template_path
();
}
Loading