Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dp committed Apr 10, 2015
2 parents 0159750 + ae15439 commit 83c6f6b
Show file tree
Hide file tree
Showing 4 changed files with 332 additions and 267 deletions.
2 changes: 1 addition & 1 deletion Config/Ice/Core/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'GET' => [
'Ice:Layout_Test' => [
'actions' => [
'testAction' => 'Ice:Test'
'Ice:Test' => 'testAction'
]
]
]
Expand Down
33 changes: 33 additions & 0 deletions Source/Ice/Model/Ice/Test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php namespace Ice\Model;

use Ice\Core\Model;

/**
* Class Ice_Test
*
*
* @see Ice\Core\Model
*
* @package Ice\Model
*/
class Ice_Test extends Model
{
protected static function config()
{
return [
'revision' => '04061558_ep',
'dataSourceKey' => 'Ice\\Data\\Source\\Mongodb/default.test',
'scheme' => [
'tableName' => 'ice_test',
'engine' => 'MongoDB',
'charset' => 'utf-8',
'comment' => 'ice_test',
],
'schemeHash' => 2457038805,
'columns' => [],
'indexes' => [],
'indexesHash' => 223132457,
'columnsHash' => 223132457,
];
}
}
2 changes: 1 addition & 1 deletion Source/Ice/Query/Translator/Mongodb.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ protected function translateSelect(array $part)

list($modelClass, $items) = each($part);

list($tableAlias, $fieldNames) = $items;
list($tableAlias, $fieldNames) = each($items);

$columnNames = [];

Expand Down
Loading

0 comments on commit 83c6f6b

Please sign in to comment.