Skip to content

Instantly share code, notes, and snippets.

@alexedwards
Created March 26, 2010 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexedwards/345194 to your computer and use it in GitHub Desktop.
Save alexedwards/345194 to your computer and use it in GitHub Desktop.
protected $authentication = 'none'; // Can be 'none', 'basic' or 'digest'
protected $username = FALSE;
protected $password = FALSE;
protected $key = FALSE;
protected $format = 'html';
protected $supported_formats = array(
'html' => 'text/html',
'php' => 'text/plain',
'json' => 'application/json',
'xml' => 'application/xml'
);
function __construct()
{
parent::Model();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment