eZ Publish  [4.2]
ezcheckphptag.php File Reference

Go to the source code of this file.

Variables

 $badFiles = array()
 $cli = eZCLI::instance()
 $endNewlineTag = "?>\n"
 $endTag = '?>'
 $error = false
 $ini = eZINI::instance()
 $options
 $pathList = $options['arguments']
if(count($options['arguments'])< 1) $print = true
 $script
 $shellTag = '#!'
 $shortStartTag = '<?'
 $startTag = '<?php'

Variable Documentation

$badFiles = array()

Definition at line 64 of file ezcheckphptag.php.

$cli = eZCLI::instance()

Definition at line 32 of file ezcheckphptag.php.

$endNewlineTag = "?>\n"

Definition at line 70 of file ezcheckphptag.php.

$endTag = '?>'

Definition at line 69 of file ezcheckphptag.php.

$ini = eZINI::instance()

Definition at line 60 of file ezcheckphptag.php.

$options
Initial value:
 $script->getOptions( "[no-print]",
                                "[path+]",
                                array( 'no-print' => "Do not print path for bad files"
                                       ) )

Definition at line 45 of file ezcheckphptag.php.

if (count($options['arguments'])< 1) $print = true

Definition at line 56 of file ezcheckphptag.php.

Initial value:
 eZScript::instance( array( 'description' => ( "eZ Publish PHP tag checker\n\n" .
                                                         "Checks for characters before the PHP start tag and after the PHP end tag\n" .
                                                         "and sets exit code based on the result\n" .
                                                         "PATH can either be a file or a directory\n" .
                                                         "\n" .
                                                         "ezcheckphptag.php lib" ),
                                      'use-session' => false,
                                      'use-modules' => true,
                                      'use-extensions' => true ) )

Definition at line 33 of file ezcheckphptag.php.

$shellTag = '#!'

Definition at line 66 of file ezcheckphptag.php.

$shortStartTag = '<?'

Definition at line 68 of file ezcheckphptag.php.

$startTag = '<?php'

Definition at line 67 of file ezcheckphptag.php.