Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Fabik\Database;
- ...
- class Selection extends \Nette\Database\Table\Selection implements IModelManagerAccessor
- {
- ...
- public function __construct($table, IModelManager $manager)
- {
- // if (NETTE_VERSION_ID >= 20100) {
- parent::__construct($manager->getConnection(), $table, $manager->getDatabaseReflection(), $manager->getCacheStorage());
- // } else {
- // parent::__construct($table, $manager->getConnection());
- // }
- $this->manager = $manager;
- }
Advertisement
Add Comment
Please, Sign In to add comment