Source for file jIAcl2Driver.iface.php
Documentation is available at jIAcl2Driver.iface.php
- <?php
- /**
- * @package jelix
- * @subpackage acl
- * @author Laurent Jouanneau
- * @copyright 2006-2008 Laurent Jouanneau
- * @link http://www.jelix.org
- * @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
- * @since 1.1
- */
-
- /**
- * interface for jAcl2 drivers
- * @package jelix
- * @subpackage acl
- */
- interface jIAcl2Driver {
-
- /**
- * return the possible values of the right on the given subject (and on the optional resource)
- * @param string $subject the key of the subject
- * @param string $resource the id of a resource
- * @return array list of values corresponding to the right
- */
- public function getRight($subject, $resource=null);
-
- /**
- * clear some cached data, it a cache exists in the driver..
- */
- public function clearCache();
-
- }
Documentation generated on Thu, 22 Mar 2012 22:16:07 +0100 by phpDocumentor 1.4.3