<?php
$article->getOne(); $article->one;
$article->getTwo(); $article->two;
$article->getThree(); $article->three;
This file contains hidden or 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 ExtensionTest extends Tester\TestCase | |
| { | |
| public function testMergingMetadata_simple() | |
| { | |
| $compiler = new CompilerMock(); |
This file contains hidden or 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 | |
| require __DIR__ . '/../vendor/autoload.php'; | |
| $configurator = new Nette\Configurator; | |
| $configurator->setDebugMode(TRUE); // debug mode MUST NOT be enabled on production server | |
| $configurator->enableDebugger(__DIR__ . '/../log'); | |
| $configurator->setTempDirectory(__DIR__ . '/../temp'); |
This file contains hidden or 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 | |
| /** | |
| * @method onAttached(BaseControl $control, Nette\Application\UI\PresenterComponent $parent) | |
| * @method \BasePresenter getPresenter() | |
| * | |
| * @property \BasePresenter|BaseControl[] $presenter | |
| * @property-read \BasePresenter|BaseControl[] $presenter | |
| * @property \Nette\Templating\FileTemplate|\stdClass $template |
This file contains hidden or 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
| (function ($) { | |
| $.nette.ext('overlay', { | |
| before: function (xhr, settings) { | |
| if (!settings.nette || !settings.nette.el) { | |
| return; | |
| } | |
| var tar = $(settings.nette.el); | |
| var container = tar.closest('.ajax-overlay'); |
This file contains hidden or 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
| upstream huboard_unicorn { | |
| server unix:/home/hosiplan/develop/testing/huboard/tmp/unicorn.huboard.sock fail_timeout=0; | |
| } | |
| server { | |
| listen 127.0.0.1:80; | |
| server_name huboard.dev; | |
| root /home/hosiplan/develop/testing/huboard/public; | |
| try_files $uri/index.html $uri @huboard_unicorn; |
This file contains hidden or 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
| {control formProductAdd} |
This file contains hidden or 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 | |
| use Nette\Application\Routers\RouteList, | |
| Nette\Application\Routers\Route, | |
| Nette\Application\Routers\SimpleRouter; | |
| use Nette\Utils\Strings; | |
| /** | |
| * Router factory. |
This file contains hidden or 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 | |
| /** | |
| * This file is part of the Kdyby (http://www.kdyby.org) | |
| * | |
| * Copyright (c) 2008, 2012 Filip Procházka (filip@prochazka.su) | |
| * | |
| * For the full copyright and license information, please view the file license.txt that was distributed with this source code. | |
| */ |
This file contains hidden or 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 | |
| // .phpstorm.meta.php | |
| namespace NEON_META { // we want to avoid the pollution | |
| $CONFIG_KEYS = [ | |
| 'dibi' => [ 'host' => '', 'dbname' => '', 'user' => '', 'password' => '' ], // unobstrusive static definition | |
| 'nette' => \Nette\Config\Extensions\NetteExtension::$defaults, // no problem the property is actually not static | |
| 'nette' => [ | |
| 'session' => [ |