[ 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/dbacl/models/ -> aclnode.php (sommaire)

Short description for file. Long description for file

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

Définit 1 class

AclNode:: (9 méthodes):
  create()
  delete()
  setParent()
  getParent()
  getPath()
  getChildren()
  _resolveID()
  _syncTable()
  __dataVars()


Classe: AclNode  - X-Ref

Short description for file.

Long description for file

create($linkId = 0, $parentId = null, $alias = '')   X-Ref
Creates a new ARO/ACO node

param: int $linkId
param: mixed $parentId
param: string $alias
return: boolean True on success, false on fail

delete($id)   X-Ref
Deletes the ARO/ACO node with the given ID

param: mixed $id    The id or alias of an ARO/ACO node
return: boolean True on success, false on fail

setParent($parentId = null, $id = null)   X-Ref
Sets the parent of the given node

param: mixed $parentId
param: mixed $id
return: boolean True on success, false on failure

getParent($id)   X-Ref
Get the parent node of the given Aro or Aco

param: moxed $id
return: array

getPath($id)   X-Ref
Gets the path to the given Aro or Aco

param: mixed $id
return: array

getChildren($id)   X-Ref
Get the child nodes of the given Aro or Aco

param: mixed $id
return: array

_resolveID($id)   X-Ref
Gets a conditions array to find an Aro or Aco, based on the given id or alias

param: mixed $id
return: array Conditions array for a find/findAll call

_syncTable($dir, $lft, $rght)   X-Ref
Shifts the left and right values of the aro/aco tables
when a node is added or removed

param: unknown_type $dir
param: unknown_type $lft
param: unknown_type $rght

__dataVars()   X-Ref
Infers data based on the currently-intantiated subclass.

return: array



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