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 Column extends \Nette\Object | |
| { | |
| /** | |
| * @var string | |
| */ | |
| public $name; | |
| /** |
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 | |
| namespace BackendModule; | |
| class LocaleForm extends BaseForm | |
| { | |
| /** @var */ | |
| protected $repository; | |
| /** @var */ |
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 | |
| namespace BackendModule; | |
| /** | |
| * New List Control | |
| */ | |
| class NewList extends BaseControl | |
| { | |
| /** |
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
| #!/bin/bash | |
| #============================================================================== | |
| # | |
| # FILE: homam-install.sh | |
| # | |
| # USAGE: homam-install.sh --data original_data [-v vcmi_version] dir | |
| # | |
| # DESCRIPTION: Installation script for vcmi | |
| # | |
| # AUTHOR: Ondřej Profant, ondrej.profant <> gmail.com |
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\UI\Form; | |
| class Formik extends Form | |
| { | |
| public function __construct() | |
| { | |
| parent::__construct(); |
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\Utils\Finder; | |
| /** | |
| * @todo fake delete (delete to global trash) | |
| */ | |
| class UploadManager extends \Nette\Object | |
| { | |
| /** @var string upload dir */ |
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 | |
| /** | |
| * Homepage presenter. | |
| */ | |
| class HomepagePresenter extends BasePresenter | |
| { | |
| public function handleProcessImages() | |
| { | |
| $files = $this->getHttpRequest()->getFiles(); |
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 | |
| /** | |
| * | |
| * Extract mail address in pointy brackets ("<", ">") from given string | |
| * | |
| * @author: Ondřej Profant <ondrej.profant <> gmail.com>, 2013 | |
| * | |
| */ |
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 | |
| /** | |
| * | |
| * Regexp matchich if string with street name has orientation number too. | |
| * Rules are for Czech Republic orientation numbers: | |
| * a) number for 0-999 | |
| * b) may be supplemented by one letter | |
| * @link http://www.czso.cz/csu/rso.nsf/i/cislo_orientacni | |
| * |
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
| {** | |
| * My Application layout template. | |
| * | |
| * @param string $basePath web base path | |
| * @param string $robots tell robots how to index the content of a page (optional) | |
| * @param array $flashes flash messages | |
| *} | |
| <!DOCTYPE html> | |
| <html> |