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
// controllers/components/custom_acl.php | |
App::import('Component', 'Acl'); | |
class CustomAclComponent extends AclComponent { | |
public function example() { | |
// override the function | |
} | |
} | |
Then in your app_controller |
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
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* dZero image library | |
* | |
* @package dZero Image Library | |
* @category Image Manipulation | |
* @author Daniel Nolan ([email protected]) & Brandon Cordell ([email protected]) | |
* @copyright Copyright (c) 2009 dZero Web Design & Development. | |
* @link http://dzerodesign.com | |
* @version 1.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
<?php | |
if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* dZero authentication library | |
* | |
* @package dZero Auth Library | |
* @category authentication | |
* @author Daniel Nolan ([email protected]) & Brandon Cordell ([email protected]) | |
* @copyright Copyright (c) 2009 dZero Web Design & Development. |
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
<script type="text/javascript"> | |
//<![CDATA[ | |
var image_url = '<?=base_url()?>public/shared/images/products/'; | |
$(document).ready(function() | |
{ | |
/* hide some divs */ | |
$('.wall, .window, .multiple_windows, .cart').hide(); | |
/* disable checkout buttons */ |
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
<?php | |
/** | |
* Library for using Authorize.net's ARB (automated recurring billing) | |
* | |
* @author Brandon Cordell([email protected]) | |
* @link http://projects.leadAndrock.com/cake_arb | |
* @copyright Copyright (c) 2010, Brandon Cordell | |
* @version 1.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
<?php | |
/** | |
* Link Helper | |
* | |
* @copyright Copyright 2010, Brandon Cordell | |
* @author Brandon Cordell <[email protected]> | |
* @link http://snippets.leadandrock.com/cakephp-link-helper | |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
* | |
* Usage: |