PHP Class Generate

Inheritance: extends CI_Controller
Datei anzeigen Open project: stevie-ray/referrer-spam-blocker Class Usage Examples

Public Methods

Method Description
createApache ( string $date, array $lines )
createGoogleExclude ( array $lines )
createIIS ( string $date, array $lines )
createNginx ( string $date, array $lines )
createVarnish ( string $date, array $lines )
domainWorker ( ) : array
generateFiles ( )

Protected Methods

Method Description
writeToFile ( $file, $data )

Method Details

createApache() public method

public createApache ( string $date, array $lines )
$date string
$lines array

createGoogleExclude() public method

public createGoogleExclude ( array $lines )
$lines array

createIIS() public method

public createIIS ( string $date, array $lines )
$date string
$lines array

createNginx() public method

public createNginx ( string $date, array $lines )
$date string
$lines array

createVarnish() public method

public createVarnish ( string $date, array $lines )
$date string
$lines array

domainWorker() public method

public domainWorker ( ) : array
return array

generateFiles() public method

public generateFiles ( )

writeToFile() protected method

protected writeToFile ( $file, $data )
$file
$data