Over a million developers have joined DZone.

CakePHP Beginner Example

·
// CakePHP
App::import('Vendor', 'SnipplrCore', array('file' => 'snipplr'.DS.'snipplr.core.php'));
$SnipplrCore = new SnipplrCore();
$snippet = $SnipplrCore->get('18153');
$snippets = $SnipplrCore->getAll();
$languages = $SnipplrCore->getAllLanguages();
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}