Changeset 2057


Ignore:
Timestamp:
Jul 10, 2007, 7:06:01 AM (17 years ago)
Author:
rub
Message:

Rename trigger name loc_before_* by loc_begin_*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/include/template.php

    r2056 r2057  
    156156      if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
    157157      {
    158         trigger_action('loc_before_tpl_pparse', $handle, array(&$this));
     158        trigger_action('loc_begin_tpl_pparse', $handle, array(&$this));
    159159        // Actually compile the code now.
    160160        $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
     
    180180      if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
    181181      {
    182         trigger_action('loc_before_tpl_parse', $handle, array(&$this));
     182        trigger_action('loc_begin_tpl_parse', $handle, array(&$this));
    183183        // Actually compile the code now.
    184184        $this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle], true, '_str');
     
    215215  function assign_var_from_handle($varname, $handle)
    216216    {
    217       trigger_action('loc_before_tpl_assign_var_from_handle', $varname, $handle, array(&$this));
     217      trigger_action('loc_begin_tpl_assign_var_from_handle', $varname, $handle, array(&$this));
    218218      $this->assign_var($varname, $this->parse($handle, true));
    219219      return true;
     
    230230  function concat_var_from_handle($varname, $handle)
    231231    {
    232       trigger_action('loc_before_tpl_concat_var_from_handle', $varname, $handle, array(&$this));
     232      trigger_action('loc_begin_tpl_concat_var_from_handle', $varname, $handle, array(&$this));
    233233      $this->concat_var($varname, $this->parse($handle, true));
    234234      return true;
Note: See TracChangeset for help on using the changeset viewer.