Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
17e75a97
Commit
17e75a97
authored
Jun 18, 2012
by
Chris Berthe
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/develop' into develop
parents
8e5f1dd6
681f80ea
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
7 deletions
+22
-7
artisan
artisan
+1
-1
belongs_to.php
laravel/database/eloquent/relationships/belongs_to.php
+1
-1
has_many.php
laravel/database/eloquent/relationships/has_many.php
+1
-1
has_many_and_belongs_to.php
...tabase/eloquent/relationships/has_many_and_belongs_to.php
+1
-1
has_one.php
laravel/database/eloquent/relationships/has_one.php
+1
-1
changes.md
laravel/documentation/changes.md
+13
-0
ioc.php
laravel/ioc.php
+2
-0
paths.php
paths.php
+1
-1
index.php
public/index.php
+1
-1
No files found.
artisan
View file @
17e75a97
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.2.
2
* @version 3.2.
3
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
laravel/database/eloquent/relationships/belongs_to.php
View file @
17e75a97
...
@@ -89,7 +89,7 @@ class Belongs_To extends Relationship {
...
@@ -89,7 +89,7 @@ class Belongs_To extends Relationship {
foreach
(
$children
as
&
$child
)
foreach
(
$children
as
&
$child
)
{
{
$parent
=
array_first
(
$parents
,
function
(
$k
,
$v
)
use
(
$child
,
$foreign
)
$parent
=
array_first
(
$parents
,
function
(
$k
,
$v
)
use
(
&
$child
,
$foreign
)
{
{
return
$v
->
get_key
()
==
$child
->
$foreign
;
return
$v
->
get_key
()
==
$child
->
$foreign
;
});
});
...
...
laravel/database/eloquent/relationships/has_many.php
View file @
17e75a97
...
@@ -93,7 +93,7 @@ class Has_Many extends Has_One_Or_Many {
...
@@ -93,7 +93,7 @@ class Has_Many extends Has_One_Or_Many {
foreach
(
$parents
as
&
$parent
)
foreach
(
$parents
as
&
$parent
)
{
{
$matching
=
array_filter
(
$children
,
function
(
$v
)
use
(
$parent
,
$foreign
)
$matching
=
array_filter
(
$children
,
function
(
$v
)
use
(
&
$parent
,
$foreign
)
{
{
return
$v
->
$foreign
==
$parent
->
get_key
();
return
$v
->
$foreign
==
$parent
->
get_key
();
});
});
...
...
laravel/database/eloquent/relationships/has_many_and_belongs_to.php
View file @
17e75a97
...
@@ -327,7 +327,7 @@ class Has_Many_And_Belongs_To extends Relationship {
...
@@ -327,7 +327,7 @@ class Has_Many_And_Belongs_To extends Relationship {
foreach
(
$parents
as
&
$parent
)
foreach
(
$parents
as
&
$parent
)
{
{
$matching
=
array_filter
(
$children
,
function
(
$v
)
use
(
$parent
,
$foreign
)
$matching
=
array_filter
(
$children
,
function
(
$v
)
use
(
&
$parent
,
$foreign
)
{
{
return
$v
->
pivot
->
$foreign
==
$parent
->
get_key
();
return
$v
->
pivot
->
$foreign
==
$parent
->
get_key
();
});
});
...
...
laravel/database/eloquent/relationships/has_one.php
View file @
17e75a97
...
@@ -40,7 +40,7 @@ class Has_One extends Has_One_Or_Many {
...
@@ -40,7 +40,7 @@ class Has_One extends Has_One_Or_Many {
foreach
(
$parents
as
&
$parent
)
foreach
(
$parents
as
&
$parent
)
{
{
$matching
=
array_first
(
$children
,
function
(
$k
,
$v
)
use
(
$parent
,
$foreign
)
$matching
=
array_first
(
$children
,
function
(
$k
,
$v
)
use
(
&
$parent
,
$foreign
)
{
{
return
$v
->
$foreign
==
$parent
->
get_key
();
return
$v
->
$foreign
==
$parent
->
get_key
();
});
});
...
...
laravel/documentation/changes.md
View file @
17e75a97
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
## Contents
## Contents
-
[
Laravel 3.2.3
](
#3.2.3
)
-
[
Upgrading From 3.2.2
](
#upgrade-3.2.3
)
-
[
Laravel 3.2.2
](
#3.2.2
)
-
[
Laravel 3.2.2
](
#3.2.2
)
-
[
Upgrading From 3.2.1
](
#upgrade-3.2.2
)
-
[
Upgrading From 3.2.1
](
#upgrade-3.2.2
)
-
[
Laravel 3.2.1
](
#3.2.1
)
-
[
Laravel 3.2.1
](
#3.2.1
)
...
@@ -29,6 +31,17 @@
...
@@ -29,6 +31,17 @@
-
[
Laravel 3.1
](
#3.1
)
-
[
Laravel 3.1
](
#3.1
)
-
[
Upgrading From 3.0
](
#upgrade-3.1
)
-
[
Upgrading From 3.0
](
#upgrade-3.1
)
<a
name=
"3.2.3"
></a>
## Laravel 3.2.3
-
Fixed eager loading bug in Eloquent.
-
Added
`laravel.resolving`
event for all IoC resolutions.
<a
name=
"upgrade-3.2.3"
></a>
## Upgrading From 3.2.2
-
Replace the
**laravel**
folder.
<a
name=
"3.2.2"
></a>
<a
name=
"3.2.2"
></a>
## Laravel 3.2.2
## Laravel 3.2.2
...
...
laravel/ioc.php
View file @
17e75a97
...
@@ -129,6 +129,8 @@ class IoC {
...
@@ -129,6 +129,8 @@ class IoC {
static
::
$singletons
[
$type
]
=
$object
;
static
::
$singletons
[
$type
]
=
$object
;
}
}
Event
::
fire
(
'laravel.resolving'
,
array
(
$type
,
$object
));
return
$object
;
return
$object
;
}
}
...
...
paths.php
View file @
17e75a97
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.2.
2
* @version 3.2.
3
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
public/index.php
View file @
17e75a97
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.2.
2
* @version 3.2.
3
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment