Skip to content

Instantly share code, notes, and snippets.

@iguana007
iguana007 / config.php
Created March 26, 2012 11:13 — forked from juzna/config.php
UIR-ADR update
<?
$dbHost = 'localhost';
$dbUser = '...';
$dbPass = '...';
$dbDatabase = '...';
@iguana007
iguana007 / BaseModel.php
Created October 6, 2011 10:29 — forked from Majkl578/BaseModel.php
Nette: Dynamické načítání modelů - Dibi + Nette\DI
<?php
namespace Models;
/**
* Base model
* @link http://wiki.nette.org/cs/cookbook/dynamicke-nacitani-modelu
* @author Majkl578
*/
abstract class Base extends \Nette\Object
@iguana007
iguana007 / Replicator.php
Created April 28, 2011 07:39 — forked from fprochazka/CreatePresenter.php
ReplicatingContainer
see: https://github.com/Kdyby/Framework/blob/master/Kdyby/Forms/Containers/Replicator.php
<?php
namespace Kdyby\Control;
use Nette;
use Nette\String;
class LookoutControl extends Nette\Application\Control
<?php
/**
* Image helper with automatic image resize and cache
*
* @author Roman Ozana, ozana@omdesign.cz
* @link www.omdesign.cz
*
*
* add to presenter before render function
*