1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/template-engine] Delete @access everywhere.

Access specification in php 5 is done directly on functions/properties.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-05-13 10:49:53 -04:00
parent be8fc0864c
commit b04f0a5f70
3 changed files with 0 additions and 36 deletions

View File

@@ -260,7 +260,6 @@ class phpbb_template_filter extends php_user_filter
/**
* Compile variables
* @access private
*/
private function compile_var_tags(&$text_blocks)
{
@@ -310,7 +309,6 @@ class phpbb_template_filter extends php_user_filter
/**
* Compile blocks
* @access private
*/
private function compile_tag_block($tag_args)
{
@@ -423,7 +421,6 @@ class phpbb_template_filter extends php_user_filter
/**
* Compile a general expression - much of this is from Smarty with
* some adaptions for our block level methods
* @access private
*/
private function compile_expression($tag_args)
{
@@ -630,7 +627,6 @@ class phpbb_template_filter extends php_user_filter
/**
* Compile DEFINE tags
* @access private
*/
private function compile_tag_define($tag_args, $op)
{
@@ -654,7 +650,6 @@ class phpbb_template_filter extends php_user_filter
/**
* Compile INCLUDE tag
* @access private
*/
private function compile_tag_include($tag_args)
{
@@ -663,7 +658,6 @@ class phpbb_template_filter extends php_user_filter
/**
* Compile INCLUDE_PHP tag
* @access private
*/
private function compile_tag_include_php($tag_args)
{
@@ -673,7 +667,6 @@ class phpbb_template_filter extends php_user_filter
/**
* parse expression
* This is from Smarty
* @access private
*/
private function _parse_is_expr($is_arg, $tokens)
{
@@ -752,7 +745,6 @@ class phpbb_template_filter extends php_user_filter
* ' . $_tpldata['parent'][$_parent_i]['$child1'][$_child1_i]['$child2'][$_child2_i]...['varname'] . '
* It's ready to be inserted into an "echo" line in one of the templates.
*
* @access private
* @param string $namespace Namespace to access (expects a trailing "." on the namespace)
* @param string $varname Variable name to use
* @param bool $echo If true return an echo statement, otherwise a reference to the internal variable
@@ -815,7 +807,6 @@ class phpbb_template_filter extends php_user_filter
* (possibly nested) block namespace. This is a string of the form:
* $_tpldata['parent'][$_parent_i]['$child1'][$_child1_i]['$child2'][$_child2_i]...['$childN']
*
* @access private
* @param string $blockname Block to access (does not expect a trailing "." on the blockname)
* @param bool $include_last_iterator If $include_last_iterator is true, then [$_childN_i] will be appended to the form shown above.
* @param bool $defop If true this is a variable created with the DEFINE construct, otherwise template variable
@@ -883,7 +874,6 @@ class phpbb_template_compile
/**
* Compiles template in $source_file and writes compiled template to
* cache directory
* @access public
* @param string $handle Template handle to compile
* @param string $source_file Source template file
* @return bool Return true on success otherwise false
@@ -916,7 +906,6 @@ class phpbb_template_compile
/**
* Compiles a template located at $source_file.
* Returns PHP source suitable for eval().
* @access public
* @param string $source_file Source template file
* @return string|bool Return compiled code on successful compilation otherwise false
*/
@@ -947,7 +936,6 @@ class phpbb_template_compile
* A stream filter is appended to $source_stream as part of the
* process.
*
* @access private
* @param resource $source_stream Source stream
* @param resource $dest_stream Destination stream
* @return void

View File

@@ -45,7 +45,6 @@ class phpbb_template_context
/**
* Clears template data set.
* @access public
*/
public function clear()
{
@@ -55,7 +54,6 @@ class phpbb_template_context
/**
* Assign a single variable to a single key
* @access public
* @param string $varname Variable name
* @param string $varval Value to assign to variable
*/
@@ -74,7 +72,6 @@ class phpbb_template_context
*
* Note: modifying returned array will affect data stored in the context.
*
* @access public
* @return array template data
*/
public function get_data_ref()
@@ -93,7 +90,6 @@ class phpbb_template_context
*
* Note: modifying returned array will affect data stored in the context.
*
* @access public
* @return array template data
*/
public function get_root_ref()
@@ -104,7 +100,6 @@ class phpbb_template_context
/**
* Assign key variable pairs from an array to a specified block
* @access public
* @param string $blockname Name of block to assign $vararray to
* @param array $vararray A hash of variable name => value pairs
*/
@@ -197,7 +192,6 @@ class phpbb_template_context
* and inserting at position 1 will result in this array: array(first positioned array, vararray, following vars)
*
* @return bool false on error, true on success
* @access public
*/
public function alter_block_array($blockname, array $vararray, $key = false, $mode = 'insert')
{
@@ -315,7 +309,6 @@ class phpbb_template_context
/**
* Reset/empty complete block
* @access public
* @param string $blockname Name of block to destroy
*/
public function destroy_block_vars($blockname)