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 | |
public function hledej($vyraz, $sloupec) | |
{ | |
$conditions = array(); | |
if ($sloupec == 'K') { | |
for ($i = 1; $i <= 4; ++$i) | |
$conditions[] = array('%n LIKE %s', $sloupec . $i, '%' . $vyraz . '%'); | |
} else { | |
$conditions[] = array('%n LIKE %s', $sloupec, '%' . $vyraz . '%'); |
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 MyPresenter extends BasePresenter | |
{ | |
protected function createComponentSomeForm() | |
{ | |
$form = new AppForm(); | |
// ... | |
return $form; | |
} |
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 BasePresenter extends Presenter | |
{ | |
// ... | |
protected function beforeRender() | |
{ | |
// ... |
NewerOlder