previousIntroduction (Previous) (Next) File_HtAccess::loadnext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_HtAccess::file_htaccess()

File_HtAccess::file_htaccess() – constructor

Synopsis

object new File_HtAccess ( string $file='.htaccess' , array $params )

Description

Creates an instance of a File_HtAccess object.

Parameter

  • string $file - filename to use. Defaults to .htaccess

  • array $params - a array of parameters which can be:

    • $params['authname'] - authname

    • $params['authtype'] - authtype

    • $params['authuserfile'] - authuserfile

    • $params['authgroupfile'] - authgroupfile

    • $params['require'] - require

    • $params['additional'] - additional

Return value

object - instance of File_HtAccess

Example

How to create new instance of File_HtAccess

<?php
require_once('File/HtAccess.php');
$fh = new File_HtAccess('.htaccess');
?>
previousIntroduction (Previous) (Next) File_HtAccess::loadnext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.