Exemplo n.º 1
0
 /**
  * @param bool
  * @return \Nette\Database\Table\Selection
  */
 protected function getTable($ignoreDeleted = FALSE)
 {
     $table = parent::getTable();
     if (!$ignoreDeleted) {
         $this->filterOutDeleted($table);
     }
     return $table;
 }
 public function __construct(Context $db, VersionDependencies $dependencies, Utils\VersionParser $parser)
 {
     parent::__construct($db);
     $this->dependencies = $dependencies;
     $this->parser = $parser;
 }