* Copyright (c) 2005, CakePHP Authors/Developers * * Author(s): Michal Tatarynowicz aka Pies * Larry E. Masters aka PhpNut * Kamil Dzielinski aka Brego * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @filesource * @author CakePHP Authors/Developers * @copyright Copyright (c) 2005, CakePHP Authors/Developers * @link https://trac.cakephp.org/wiki/Authors Authors/Developers * @package cake * @subpackage cake.cake.libs.controller.components * @since CakePHP v 0.10.0.1076 * @version $Revision$ * @modifiedby $LastChangedBy$ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ /** * Access Control List factory class. * * Looks for ACL implementation class in core config, and returns an instance of that class. * * @package cake * @subpackage cake.cake.libs.controller.components * @since CakePHP v 0.10.0.1076 * */ class AclComponent { /** * Static function used to gain an instance of the correct ACL class. * * @return MyACL */ function getACL() { require_once(COMPONENTS.ACL_FILENAME); $myacl = ACL_CLASSNAME; return new $myacl; } } ?>