-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #455 from phalcon/2.0.x
2.0.6
- Loading branch information
Showing
1,743 changed files
with
173,044 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.idea | ||
.DS_Store | ||
phalcon.phar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"directories": "resources", | ||
"files": "webtools.php", | ||
"finder": [ | ||
{ | ||
"exclude": [ | ||
"CONTRIBUTING.md", | ||
"README.md", | ||
"LICENSE", | ||
"phalcon.bat", | ||
"phalcon.sh" | ||
], | ||
"in": "scripts", | ||
"name": [ | ||
"*.phtml", | ||
"*.php" | ||
] | ||
} | ||
], | ||
"git-version": "git_tag", | ||
"main": "phalcon.php", | ||
"output": "phalcon.phar", | ||
"stub": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Phalcon { | ||
|
||
abstract class Acl { | ||
|
||
const ALLOW = 1; | ||
|
||
const DENY = 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?php | ||
|
||
namespace Phalcon\Acl { | ||
|
||
/** | ||
* Phalcon\Acl\Adapter | ||
* | ||
* Adapter for Phalcon\Acl adapters | ||
*/ | ||
|
||
abstract class Adapter implements \Phalcon\Acl\AdapterInterface, \Phalcon\Events\EventsAwareInterface { | ||
|
||
protected $_eventsManager; | ||
|
||
protected $_defaultAccess; | ||
|
||
protected $_accessGranted; | ||
|
||
protected $_activeRole; | ||
|
||
protected $_activeResource; | ||
|
||
protected $_activeAccess; | ||
|
||
/** | ||
* Role which the list is checking if it's allowed to certain resource/access | ||
* @var mixed | ||
*/ | ||
public function getActiveRole(){ } | ||
|
||
|
||
/** | ||
* Resource which the list is checking if some role can access it | ||
* @var mixed | ||
*/ | ||
public function getActiveResource(){ } | ||
|
||
|
||
/** | ||
* Active access which the list is checking if some role can access it | ||
* @var mixed | ||
*/ | ||
public function getActiveAccess(){ } | ||
|
||
|
||
/** | ||
* Sets the events manager | ||
*/ | ||
public function setEventsManager(\Phalcon\Events\ManagerInterface $eventsManager){ } | ||
|
||
|
||
/** | ||
* Returns the internal event manager | ||
*/ | ||
public function getEventsManager(){ } | ||
|
||
|
||
/** | ||
* Sets the default access level (Phalcon\Acl::ALLOW or \Phalcon\Acl::DENY) | ||
*/ | ||
public function setDefaultAction($defaultAccess){ } | ||
|
||
|
||
/** | ||
* Returns the default ACL access level | ||
*/ | ||
public function getDefaultAction(){ } | ||
|
||
} | ||
} |
Oops, something went wrong.