Cleaned up headers

This commit is contained in:
Josh Sherman 2014-10-03 10:46:43 -04:00
parent 89fc175701
commit ae98b67683
18 changed files with 72 additions and 100 deletions

View file

@ -1,9 +1,32 @@
<?php
/**
* Auth Abstraction
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
/**
* Auth Abstract Class
*/
abstract class Auth extends Object
{
/**
* Basic Auth
*
* Implement this method when using 'basic' auth. Allows you to roll a
* custom solution based on your needs. Want to use username and password?
* Rather use an API key and not worry about the password? Do it. Return
* true when authentication is successful and false when it is not.
*/
public function basic()
{

View file

@ -3,16 +3,13 @@
/**
* Browser Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -1,18 +1,15 @@
<?php
/**
* Caching System for PICKLES
*
* PHP version 5
* Caching System
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
@ -26,7 +23,7 @@ namespace Pickles;
* don't entirely remember specifics, but the reason for not using Memcached()
* was due to an unexplainable bug in the version in the repository for Ubuntu
* 10.04 LTS. Memcached() does support more of the memcached protocol and will
* eventually be what PICKLES uses. Keys are forced to be uppercase for
* eventually be what Pickles uses. Keys are forced to be uppercase for
* consistencies sake as I've been burned by the case sensitivity due to typos
* in my code.
*

View file

@ -1,18 +1,15 @@
<?php
/**
* Configuration Class File for PICKLES
*
* PHP version 5
* Configuration
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
@ -23,7 +20,7 @@ namespace Pickles;
* Handles loading the site's configuration file (if available). At the moment
* this class is a very skewed Singleton. The plan is to eventually extend this
* out to support multiple configuration files, and the ability to load in
* custom config files on the fly as well. The core of PICKLES uses the class
* custom config files on the fly as well. The core of Pickles uses the class
* as a Singleton so we're not loading the configuration multiple times per
* page load.
*/

View file

@ -3,16 +3,13 @@
/**
* Converter
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -1,18 +1,15 @@
<?php
/**
* Database Class File for PICKLES
*
* PHP version 5
* Database Abstraction Layer
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
* @todo Drop driver, hardcode drivers based on the type
* @todo More assumptions for the datasource variables
*/

View file

@ -3,16 +3,13 @@
/**
* Date Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -3,16 +3,13 @@
/**
* Distance
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -3,16 +3,13 @@
/**
* File Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -1,18 +1,15 @@
<?php
/**
* Model Parent Class for PICKLES
*
* PHP version 5
* Model Parent Class
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
@ -20,9 +17,9 @@ namespace Pickles;
/**
* Model Class
*
* This is a parent class that all PICKLES data models should be extending. When
* using the class as designed, objects will function as active record pattern
* objects.
* This is a parent class that all Pickles data models should be extending.
* When using the class as designed, objects will function as active record
* pattern objects.
*/
class Model extends Object
{

View file

@ -3,16 +3,13 @@
/**
* Number Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -1,18 +1,15 @@
<?php
/**
* Object Class File for PICKLES
*
* PHP version 5
* Parent Object
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
@ -20,7 +17,7 @@ namespace Pickles;
/**
* Object Class
*
* Every instantiated class in PICKLES should be extending this class. By doing
* Every instantiated class in Pickles should be extending this class. By doing
* so the class is automatically hooked into the profiler, and the object will
* have access to some common components as well.
*/

View file

@ -3,16 +3,13 @@
/**
* Profiler
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -1,18 +1,15 @@
<?php
/**
* Resource Class File for PICKLES
*
* PHP version 5
* Resource Class
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
@ -20,7 +17,7 @@ namespace Pickles;
/**
* Resource Class
*
* This is a parent class that all PICKLES modules should be extending. Each
* This is a parent class that all Pickles modules should be extending. Each
* module can specify it's own meta data and whether or not a user must be
* properly authenticated to view the page. Currently any pages without a
* template are treated as pages being requested via AJAX and the return will

View file

@ -1,18 +1,15 @@
<?php
/**
* Single Entry Router
*
* PHP version 5
* Endpoint Router
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;
@ -20,7 +17,7 @@ namespace Pickles;
/**
* Router Class
*
* The heavy lifter of PICKLES, makes the calls to get the session and
* The heavy lifter of Pickles, makes the calls to get the session and
* configuration loaded. Loads modules, serves up user authentication when the
* module asks for it, and loads the viewer that the module requested. Default
* values are present to make things easier on the user.

View file

@ -3,16 +3,13 @@
/**
* Sorting Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -3,16 +3,13 @@
/**
* String Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;

View file

@ -3,16 +3,13 @@
/**
* Time Utility Collection
*
* PHP version 5
*
* Licensed under The MIT License
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2014, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link https://github.com/joshtronic/pickles
* @link http://picklesphp.com
* @package Pickles
*/
namespace Pickles;