Go to the source code of this file.
Variables | |
| $moduleDir = dirname(__DIR__) | |
| Vertrag: c-*-Content-Layouts sind sprachunabhängig. | |
| $cmsClass | |
| $templateDir = $moduleDir . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' | |
| foreach(array('private $contentTemplateNames=null', 'private function content_template_names():array', "dbx/modules/dbxContent/tpl/htm/", 'is_array($this->contentTemplateNames)', 'foreach($this->content_template_names() as $name)',) as $part) | $methodStart = strpos($cmsClass, 'private function content_template_names(): array') |
| $methodEnd = strpos($cmsClass, 'private function template_options()', $methodStart) | |
| $methodSource = substr($cmsClass, $methodStart, $methodEnd - $methodStart) | |
| foreach(array( 'dbx_lng_resolve_file', 'dbx_lng_name', 'dbx_lng') as $forbidden) foreach(array('de'=> '', 'en'=> '_en', 'es'=> '_es') as $language=> $suffix) | $contentTemplateDir |
| $files = glob($contentTemplateDir . DIRECTORY_SEPARATOR . 'c-*.htm') | |
| if (!is_array( $files)||count( $files)< 2) | |
| $cmsClass |
Definition at line 7 of file cms_content_template_language_contract_test.php.
| foreach(array('dbx_lng_resolve_file', 'dbx_lng_name', 'dbx_lng') as $forbidden) foreach (array( 'de'=> '', 'en'=> '_en', 'es'=> '_es') as $language=> $suffix) $contentTemplateDir |
Definition at line 58 of file cms_content_template_language_contract_test.php.
| $files = glob($contentTemplateDir . DIRECTORY_SEPARATOR . 'c-*.htm') |
Definition at line 60 of file cms_content_template_language_contract_test.php.
| $methodEnd = strpos($cmsClass, 'private function template_options()', $methodStart) |
Definition at line 26 of file cms_content_template_language_contract_test.php.
| $methodSource = substr($cmsClass, $methodStart, $methodEnd - $methodStart) |
Definition at line 27 of file cms_content_template_language_contract_test.php.
| foreach (array( 'private $contentTemplateNames=null', 'private function content_template_names():array', "dbx/modules/dbxContent/tpl/htm/", 'is_array( $this->contentTemplateNames)', 'foreach( $this->content_template_names() as $name)',) as $part) $methodStart = strpos($cmsClass, 'private function content_template_names(): array') |
Definition at line 25 of file cms_content_template_language_contract_test.php.
| $moduleDir = dirname(__DIR__) |
Vertrag: c-*-Content-Layouts sind sprachunabhängig.
Definition at line 6 of file cms_content_template_language_contract_test.php.
| $templateDir = $moduleDir . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm' |
Definition at line 10 of file cms_content_template_language_contract_test.php.
| if(!is_array($files)||count($files)< 2) | ( | ) |
Definition at line 61 of file cms_content_template_language_contract_test.php.