kernel/classes/ezaudit.php
static function fetchAuditNameSettings()
    {
        $ini = eZINI::instance( 'audit.ini' );

        $auditNames = $ini->hasVariable( 'AuditSettings', 'AuditFileNames' )
                      ? $ini->variable( 'AuditSettings', 'AuditFileNames' )
                      : array();
        $varDir = eZINI::instance()->variable( 'FileSettings', 'VarDir' );
        // concat varDir setting with LogDir setting
        $logDir = $varDir . '/';
        $logDir .= $ini->hasVariable( 'AuditSettings', 'LogDir' ) ? $ini->variable( 'AuditSettings', 'LogDir' ): self::DEFAULT_LOG_DIR;

        $resultArray = array();
        foreach ( array_keys( $auditNames ) as $auditNameKey )
        {
            $auditNameValue = $auditNames[$auditNameKey];
            $resultArray[$auditNameKey] = array( 'dir' => $logDir,
                                                 'file_name' => $auditNameValue );
        }
        return $resultArray;
    }
static function fetchAuditNameSettings()
    {
        $ini = eZINI::instance( 'audit.ini' );

        $auditNames = $ini->hasVariable( 'AuditSettings', 'AuditFileNames' )
                      ? $ini->variable( 'AuditSettings', 'AuditFileNames' )
                      : array();
        $varDir = eZINI::instance()->variable( 'FileSettings', 'VarDir' );
        // concat varDir setting with LogDir setting
        $logDir = $varDir . '/';
        $logDir .= $ini->hasVariable( 'AuditSettings', 'LogDir' ) ? $ini->variable( 'AuditSettings', 'LogDir' ): self::DEFAULT_LOG_DIR;

        $resultArray = array();
        foreach ( array_keys( $auditNames ) as $auditNameKey )
        {
            $auditNameValue = $auditNames[$auditNameKey];
            $resultArray[$auditNameKey] = array( 'dir' => $logDir,
                                                 'file_name' => $auditNameValue );
        }
        return $resultArray;
    }
static function fetchAuditNameSettings ( ) { $ ini = eZINI :: instance ( 'audit.ini' ) ; $ auditNames = $ ini -> hasVariable ( 'AuditSettings' , 'AuditFileNames' ) ? $ ini -> variable ( 'AuditSettings' , 'AuditFileNames' ) : array ( ) ; $ varDir = eZINI :: instance ( ) -> variable ( 'FileSettings' , 'VarDir' ) ; // concat varDir setting with LogDir setting $ logDir = $ varDir . '/' ; $ logDir .= $ ini -> hasVariable ( 'AuditSettings' , 'LogDir' ) ? $ ini -> variable ( 'AuditSettings' , 'LogDir' ) : self :: DEFAULT_LOG_DIR ; $ resultArray = array ( ) ; foreach ( array_keys ( $ auditNames ) as $ auditNameKey ) { $ auditNameValue = $ auditNames [ $ auditNameKey ] ; $ resultArray [ $ auditNameKey ] = array ( 'dir' => $ logDir , 'file_name' => $ auditNameValue ) ; } return $ resultArray ; }
Returns an associative array of all names of audit and the log files used by this class,
Will be fetched from ini settings.

@return array
Returns an associative array of all names of audit and the log files used by this class Will be fetched from ini settings .