Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translated phpDocs and comments to english #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/TaskList.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class TaskListControl extends Nette\Application\UI\Control
*/
public function __construct(Nette\Database\Table\Selection $selected, Tasks $tasks)
{
parent::__construct(); // vždy je potřeba volat rodičovský konstruktor
parent::__construct(); // we have to call constructor from parent class
$this->selected = $selected;
$this->tasks = $tasks;
}
Expand Down
14 changes: 7 additions & 7 deletions app/model/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


/**
* Reprezentuje repozitář pro databázovou tabulku
* Repository pattern class for database table
*/
abstract class Table extends Nette\Object
{
Expand Down Expand Up @@ -41,7 +41,7 @@ public function __construct(Nette\Database\Connection $db)


/**
* Vrací celou tabulku z databáze
* Gets whole table from database
* @return \Nette\Database\Table\Selection
*/
protected function getTable()
Expand All @@ -52,7 +52,7 @@ protected function getTable()


/**
* Vrací všechny záznamy z databáze
* Returns all records
* @return \Nette\Database\Table\Selection
*/
public function findAll()
Expand All @@ -63,8 +63,8 @@ public function findAll()


/**
* Vrací vyfiltrované záznamy na základě vstupního pole
* (pole array('name' => 'David') se převede na část SQL dotazu WHERE name = 'David')
* Returns all records matching criteria specified in $by
* (array('name' => 'David') gets converted to SQL query WHERE name = 'David')
*
* @param array $by
*
Expand All @@ -78,7 +78,7 @@ public function findBy(array $by)


/**
* To samé jako findBy akorát vrací vždy jen jeden záznam
* Returns first record matching criteria specified in $by
*
* @param array $by
*
Expand All @@ -92,7 +92,7 @@ public function findOneBy(array $by)


/**
* Vrací záznam s daným primárním klíčem
* Returns record with specified primary key
*
* @param int $id
*
Expand Down
2 changes: 1 addition & 1 deletion app/presenters/TaskPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


/**
* Presenter, který zajišťuje výpis seznamů úkolů.
* Presenter that ensures the listing of task lists.
*
* @property callable $taskFormSubmitted
*/
Expand Down