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 (daniel.nolan@dZerodesign.com) & Brandon Cordell (brandon.cordell@dZerodesign.com) | |
* @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
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* dZero image library | |
* | |
* @package dZero Image Library | |
* @category Image Manipulation | |
* @author Daniel Nolan (daniel.nolan@dZerodesign.com) & Brandon Cordell (brandon.cordell@dZerodesign.com) | |
* @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'); | |
/** | |
* My Model | |
* | |
* Used as a base class for all admin or app related model functions. | |
* | |
* @author Alex Garcia | |
* @since 0.1 | |
* @version 1 | |
*/ |
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'); | |
class MY_Upload extends CI_Upload { | |
public $destination_not_file_system = FALSE; | |
public function __construct($props = array()) | |
{ | |
parent::__construct(); |
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 | |
/** | |
* Handle file uploads via XMLHttpRequest | |
*/ | |
class qqUploadedFileXhr { | |
/** | |
* Save the file to the specified path | |
* @return boolean TRUE on success | |
*/ |
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'); | |
/** | |
* CodeIgniter Native Session Library | |
* | |
* @package Session | |
* @subpackage Libraries | |
* @category Session | |
* @author Topic Deisgn | |
*/ |
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 | |
function route_url($segments, $slash = true) { | |
$CI =& get_instance(); | |
$routes = $CI->router->routes; | |
$toReturn = false; | |
foreach ($routes as $route => $arch) { |
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'); | |
/** | |
* MY_Pagination Class | |
* | |
* Extends Pagination library | |
* | |
*/ | |
class MY_Pagination extends CI_Pagination { | |
public $add_query_string = FALSE; |
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'); | |
class MY_Model extends CI_Model { | |
/** Set this to the table name that the model is mapped to */ | |
protected $tableName; | |
/** Set this to the primary key of the table for this model.*/ | |
protected $primaryKey; | |
function __construct() { | |
parent::__construct(); |
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'); | |
class Auth { | |
/** | |
* @author K.Gautam | |
* @version 0.1 | |
* @todo ability to add configuration. | |
*/ | |
protected $CI=NULL; |
OlderNewer