diff --git a/docs/en/designers/language-builtin-functions/language-function-include-php.xml b/docs/en/designers/language-builtin-functions/language-function-include-php.xml index 8ee3878e..e808d911 100644 --- a/docs/en/designers/language-builtin-functions/language-function-include-php.xml +++ b/docs/en/designers/language-builtin-functions/language-function-include-php.xml @@ -70,17 +70,6 @@ $trusted_dir, or an absolute path. - - {include_php} is a nice way to handle componentized templates, and - keep PHP code separate from the template files. Lets say you have a - template that shows your site navigation, which is pulled - dynamically from a database. You can keep your PHP logic that grabs - database content in a separate directory, and include it at the top - of the template. Now you can include this template anywhere without - worrying if the database information was assigned by the application - before hand. - By default, php files are only included once even if called multiple times in the template. You can specify that it should be @@ -128,18 +117,14 @@ $this->assign('sections',$sql->record); ]]> - - See also - {include}, - {php}, - {capture}, - Template Resources and - Componentized Templates - - + See also {include}, + {php}, {capture}, Template Resources and Componentized + Templates -