formatting RainTPL class
This commit is contained in:
parent
3edeefd799
commit
28776ac178
1 changed files with 175 additions and 168 deletions
|
@ -329,6 +329,7 @@ class RainTPL{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* execute stripslaches() on the xml block. Invoqued by preg_replace_callback function below
|
* execute stripslaches() on the xml block. Invoqued by preg_replace_callback function below
|
||||||
*
|
*
|
||||||
|
@ -340,6 +341,8 @@ class RainTPL{
|
||||||
return "<?php echo '<?xml ".stripslashes($capture[1])." ?>'; ?>";
|
return "<?php echo '<?xml ".stripslashes($capture[1])." ?>'; ?>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compile and write the compiled template file
|
* Compile and write the compiled template file
|
||||||
*
|
*
|
||||||
|
@ -653,6 +656,7 @@ class RainTPL{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reduce a path
|
* Reduce a path
|
||||||
*
|
*
|
||||||
|
@ -728,8 +732,6 @@ class RainTPL{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* replace constants
|
* replace constants
|
||||||
*
|
*
|
||||||
|
@ -1015,6 +1017,8 @@ class RainTPL{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints debug info about exception or passes it further if debug is disabled.
|
* Prints debug info about exception or passes it further if debug is disabled.
|
||||||
*
|
*
|
||||||
|
@ -1053,6 +1057,7 @@ class RainTPL{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic Rain tpl exception.
|
* Basic Rain tpl exception.
|
||||||
*/
|
*/
|
||||||
|
@ -1085,6 +1090,8 @@ class RainTpl_Exception extends Exception{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown when template file does not exists.
|
* Exception thrown when template file does not exists.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue