This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Nette\Templates; | |
use Nette\Forms\Form; | |
use Nette\String; | |
/** | |
* Form macros | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Nette Framework | |
* | |
* @copyright Copyright (c) 2004, 2010 David Grudl | |
* @license http://nettephp.com/license Nette license | |
* @link http://nettephp.com | |
* @category Nette | |
* @package Nette\Forms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class BaseForm extends Nette\Application\AppForm | |
{ | |
public function addDatePicker($name, $label = NULL, $cols = NULL, $maxLength = NULL) | |
{ | |
return $this[$name] = new Nette\Forms\DatePicker($label, $cols, $maxLength); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{gridito usersGrid} | |
{* top toolbar *} | |
{gridito.toolbar.button addUser text => "Nový uživatel", icon => "plusthick", plink => "add"} | |
{* columns *} | |
{gridito.column username text => "Uživatelské jméno", sortable => true} | |
{gridito.column name text => "Jméno", sortable => true} | |
{gridito.column mail text => "E-mail", sortable => true} | |
{gridito.column allowed text => "Aktivní", sortable => true} | |
{gridito.column created text => "Datum založení", sortable => true, dateTimeFormat => "j.n.Y"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Seo router | |
* | |
* @author Jan Marek | |
*/ | |
class SeoRouter extends Nette\Object implements Nette\Application\IRouter | |
{ | |
private $presenter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Neuron; | |
use Nette\Environment, Nette\String; | |
use Nette\NeonParser; | |
use Nette\Reflection\ClassReflection; | |
use Nette\IContext; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Webloader; | |
use Nette\String, lessc; | |
/** | |
* Less CSS filter | |
* | |
* @author Jan Marek |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// alt-shift zmena klavesnice EN->CS (QWERTY) | |
// ctrl-space code hints | |
// nekdo to spustte. nevime co to dela | |
namespace { | |
$users = array(); | |
$val = isset($_GET['lorem']) ? intval($_GET['lorem']) : 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Symfony\Component\Validator\Constraints; | |
/** | |
* @author Roman Sklenář, Jan Marek | |
* @link https://gist.github.com/664454 | |
*/ | |
class Unique extends \Symfony\Component\Validator\Constraint | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface ITest { | |
} | |
class TestClass1 { | |
} | |
OlderNewer