T_INLINE_HTML =>
T_OPEN_TAG => <?php
T_WHITESPACE =>
T_FUNCTION => function
T_WHITESPACE =>
*** &
T_STRING => newSmarty
*** (
*** )
T_WHITESPACE =>
*** {
T_WHITESPACE =>
T_IF => if
T_WHITESPACE =>
*** (
*** !
T_ISSET => isset
*** (
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => package_index
*** )
*** )
T_WHITESPACE =>
T_FOREACH => foreach
*** (
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => all_packages
T_WHITESPACE =>
T_AS => as
T_WHITESPACE =>
T_VARIABLE => $key
T_WHITESPACE =>
T_DOUBLE_ARROW => =>
T_WHITESPACE =>
T_VARIABLE => $val
*** )
T_WHITESPACE =>
*** {
T_WHITESPACE =>
T_IF => if
T_WHITESPACE =>
*** (
T_ISSET => isset
*** (
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => pkg_elements
*** [
T_VARIABLE => $key
*** ]
*** )
*** )
T_WHITESPACE =>
*** {
T_WHITESPACE =>
T_IF => if
T_WHITESPACE =>
*** (
*** !
T_ISSET => isset
*** (
T_VARIABLE => $start
*** )
*** )
T_WHITESPACE =>
T_VARIABLE => $start
T_WHITESPACE =>
*** =
T_WHITESPACE =>
T_VARIABLE => $key
*** ;
T_WHITESPACE =>
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => package_index
*** [
*** ]
T_WHITESPACE =>
*** =
T_WHITESPACE =>
T_ARRAY => array
*** (
T_CONSTANT_ENCAPSED_STRING => 'link'
T_WHITESPACE =>
T_DOUBLE_ARROW => =>
T_WHITESPACE =>
*** "
T_ENCAPSED_AND_WHITESPACE => li_
T_VARIABLE => $key
T_ENCAPSED_AND_WHITESPACE => .html
*** "
*** ,
T_WHITESPACE =>
T_CONSTANT_ENCAPSED_STRING => 'title'
T_WHITESPACE =>
T_DOUBLE_ARROW => =>
T_WHITESPACE =>
T_VARIABLE => $key
*** )
*** ;
T_WHITESPACE =>
*** }
T_WHITESPACE =>
*** }
T_WHITESPACE =>
T_VARIABLE => $templ
T_WHITESPACE =>
*** =
T_WHITESPACE =>
T_NEW => new
T_WHITESPACE =>
T_STRING => Smarty
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => template_dir
T_WHITESPACE =>
*** =
T_WHITESPACE =>
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => smarty_dir
T_WHITESPACE =>
*** .
T_WHITESPACE =>
T_STRING => PATH_DELIMITER
T_WHITESPACE =>
*** .
T_WHITESPACE =>
T_CONSTANT_ENCAPSED_STRING => 'templates'
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => compile_dir
T_WHITESPACE =>
*** =
T_WHITESPACE =>
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => smarty_dir
T_WHITESPACE =>
*** .
T_WHITESPACE =>
T_STRING => PATH_DELIMITER
T_WHITESPACE =>
*** .
T_WHITESPACE =>
T_CONSTANT_ENCAPSED_STRING => 'templates_c'
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => config_dir
T_WHITESPACE =>
*** =
T_WHITESPACE =>
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => smarty_dir
T_WHITESPACE =>
*** .
T_WHITESPACE =>
T_STRING => PATH_DELIMITER
T_WHITESPACE =>
*** .
T_WHITESPACE =>
T_CONSTANT_ENCAPSED_STRING => 'configs'
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => assign
*** (
T_CONSTANT_ENCAPSED_STRING => "packageindex"
*** ,
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => package_index
*** )
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => assign
*** (
T_CONSTANT_ENCAPSED_STRING => "phpdocversion"
*** ,
T_STRING => PHPDOCUMENTOR_VER
*** )
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => assign
*** (
T_CONSTANT_ENCAPSED_STRING => "phpdocwebsite"
*** ,
T_STRING => PHPDOCUMENTOR_WEBSITE
*** )
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => assign
*** (
T_CONSTANT_ENCAPSED_STRING => "package"
*** ,
T_VARIABLE => $this
T_OBJECT_OPERATOR => ->
T_STRING => package
*** )
*** ;
T_WHITESPACE =>
T_VARIABLE => $templ
T_OBJECT_OPERATOR => ->
T_STRING => assign
*** (
T_CONSTANT_ENCAPSED_STRING => "subdir"
*** ,
T_CONSTANT_ENCAPSED_STRING => ''
*** )
*** ;
T_WHITESPACE =>
T_RETURN => return
T_WHITESPACE =>
T_VARIABLE => $templ
*** ;
T_WHITESPACE =>
*** }
T_WHITESPACE =>
T_CLOSE_TAG => ?>
25