[ Index ]
 

Code source de CakePHP 1.1.13.4450

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/cake/libs/controller/components/iniacl/ -> ini_acl.php (sommaire)

This is core configuration file. Use it to configure core behaviour ofCake.

Copyright: Copyright 2005-2007, Cake Software Foundation, Inc.
License: http://www.opensource.org/licenses/mit-license.php The MIT License
Version: $Revision: 4409 $
Poids: 184 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

INI_ACL:: (4 méthodes):
  __construct()
  check()
  readConfigFile()
  arrayTrim()


Classe: INI_ACL  - X-Ref

In this file you can extend the AclBase.

__construct()   X-Ref
Constructor


check($aro, $aco, $acoAction = null)   X-Ref
Main ACL check function. Checks to see if the ARO (access request object) has access to the ACO (access control object).
Looks at the acl.ini.php file for permissions (see instructions in/config/acl.ini.php).

param: string $aro
param: string $aco
return: boolean

readConfigFile($fileName)   X-Ref
Parses an INI file and returns an array that reflects the INI file's section structure. Double-quote friendly.

param: string $fileName
return: array

arrayTrim($array)   X-Ref
Removes trailing spaces on all array elements (to prepare for searching)

param: array $array
return: array



Généré le : Sun Feb 25 19:27:47 2007 par Balluche grâce à PHPXref 0.7