forked from nette/nette
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Database: database extensible by row factory
- Loading branch information
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
<?php | |||
|
|||
/** | |||
* This file is part of the Nette Framework (http://nette.org) | |||
* | |||
* Copyright (c) 2004 David Grudl (http://davidgrudl.com) | |||
* | |||
* For the full copyright and license information, please view | |||
* the file license.txt that was distributed with this source code. | |||
*/ | |||
|
|||
namespace Nette\Database; | |||
|
|||
use Nette; | |||
|
|||
|
|||
|
|||
/** | |||
* Information about tables and columns structure. | |||
*/ | |||
interface IRowFactory | |||
{ | |||
/** | |||
* Create new entity | |||
* | |||
* @param array | |||
* @param Table\Selection | |||
* @return mixed | |||
*/ | |||
function createRow(array $data, Table\Selection $table); | |||
} |
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