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 TimerPanel extends Object implements IDebugPanel | |
{ | |
const PRODLEVA = 1800; | |
const PROTOKOL = 'file'; // safe | |
const LOG_FILE = "/temp/timerPanel.log"; |
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 BaseModel | |
{ | |
static $su; | |
public function isSU() | |
{ | |
if( empty(self::$su) ){ |
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 CSVFile extends ArrayList | |
{ | |
/* | |
* Is first line list of titles? | |
*/ | |
var $titles = True; | |
var $separator = ','; |
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 cURL; | |
use Nette; | |
class CurlResponse extends Nette\Object {} |
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 HtmlButcher implements \ArrayAccess, \Iterator | |
{ | |
// .... | |
final public function offsetGet($index) | |
{ | |
if( substr_count($index, ':') === 1 ){ |
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 | |
public function handleGenerujSestavu($rok, $mesic) | |
{ | |
require_once(LIBS_DIR . '/tcpdf/config/lang/eng.php'); | |
$nadpis = "Rekapitulace Zelené Nafty ".$this->getMonth((int)$mesic)." {$rok}"; | |
//$sestava = new tcPdf('P', 'mm', 'A4', true, 'UTF-8', false); | |
$sestava = new tcPdf(PDF_PAGE_ORIENTATION, PDF_UNIT, 'A4', true); |
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
[02:16:38] Limping immortal: nemel bych kosat ten kabel od sluchatek | |
[02:17:20] Limping immortal: nekose to | |
[02:17:21] Limping immortal: fuj | |
[02:17:28] Limping immortal: vyplivni | |
[02:17:31] Limping immortal: hned | |
[02:17:38] Limping immortal: hodnej |
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 | |
abstract class BaseModel extends Object | |
{ | |
/** @var Model instance */ | |
static $register = array(); | |
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 // WTF?! | |
require_once __DIR__ . '/Nette/loader.php'; | |
define('T1', pow(2, 0)); | |
define('T2', pow(2, 1)); | |
define('T3', pow(2, 2)); | |
define('T4', pow(2, 3)); | |
define('T5', pow(2, 4)); | |
define('T6', pow(2, 5)); |
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 | |
abstract class Dependencies extends \Nette\Object | |
{ | |
/** | |
* Package version | |
*/ | |
//const VERSION = 0; // 1.0.0 |
OlderNewer