Platinum Partner

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();
{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}