Skip to content

Instantly share code, notes, and snippets.

<?php
// Print all Exception classes in PHP
foreach (get_declared_classes() as $class)
{
if(is_subclass_of($class, "Exception"))
{
echo $class . "\n";
echo "\tparent: " . get_parent_class($class) . "\n";
/**
* AJAX Nette Framwork plugin for jQuery
*
* @copyright Copyright (c) 2009, 2010 Jan Marek
* @copyright Copyright (c) 2009, 2010 David Grudl
* @license MIT
* @link http://nettephp.com/cs/extras/jquery-ajax
*/
(function($) {
// Final „WTF“ solution for PSmka.cz
"wtf".split("").forEach(function(a,i){$.get("souradnice.php?stav=zmen",{x:i*22+600-(a=="w"?15:0),y:60,id:a+"_c"})});
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<!-- název gadgetu a jeho výška -->
<ModulePrefs title="Webová stránka" height="350" />
<!-- malý gadget -->
<Content view="home" type="url" href="http://seznam.cz" />
<!-- maximalizovaný gadget -->