Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Tomáš Trávníček
doctrine-dbal
Commits
85a799ea
Commit
85a799ea
authored
Aug 29, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
2dd3e974
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
6 deletions
+14
-6
Record.php
Doctrine/Record.php
+1
-0
ValueHolder.php
Doctrine/ValueHolder.php
+1
-1
Getting started - Installation.php
manual/codes/Getting started - Installation.php
+4
-3
Getting started - Installation.php
manual/docs/Getting started - Installation.php
+3
-2
Mapping object relations - Introduction.php
manual/docs/Mapping object relations - Introduction.php
+1
-0
documentation.php
manual/documentation.php
+4
-0
No files found.
Doctrine/Record.php
View file @
85a799ea
...
...
@@ -1263,6 +1263,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
/**
* countRelated
*
* @param string $name the name of the related component
* @return integer
*/
public
function
countRelated
(
$name
)
{
...
...
Doctrine/ValueHolder.php
View file @
85a799ea
...
...
@@ -45,7 +45,7 @@ class Doctrine_ValueHolder extends Doctrine_Access implements Countable {
public
function
get
(
$name
)
{
if
(
!
isset
(
$this
->
data
[
$name
]))
throw
new
InvalidKey
Exception
(
"Unknown property
$name
."
);
throw
new
Doctrine_
Exception
(
"Unknown property
$name
."
);
return
$this
->
data
[
$name
];
}
...
...
manual/codes/Getting started - Installation.php
View file @
85a799ea
<?php
require_once
(
"path-to-doctrine/Doctrine.
class.
php"
);
require_once
(
"path-to-doctrine/Doctrine.php"
);
// autoloading objects
...
...
@@ -7,7 +7,8 @@ function __autoload($class) {
Doctrine
::
autoload
(
$class
);
}
// loading all components
// registering an autoload function, useful when multiple
// frameworks are using __autoload()
Doctrine
::
loadAll
(
);
spl_autoload_register
(
array
(
'Doctrine'
,
'autoload'
)
);
?>
manual/docs/Getting started - Installation.php
View file @
85a799ea
The
installation
of
doctrine
is
very
easy
.
Just
extract
doctrine
.*.
zip
into
your
www
folder
.
The
installation
of
doctrine
is
very
easy
.
Just
get
the
latest
revision
of
Doctrine
from
http
://
doctrine
.
pengus
.
net
/
svn
/
trunk
.
<
br
\
><
br
\
>
In
the
beginning
of
your
every
script
you
can
put
:
You
need
a
SVN
(
Subversion
)
client
for
downloading
Doctrine
.
manual/docs/Mapping object relations - Introduction.php
0 → 100644
View file @
85a799ea
In
Doctrine
all
record
relations
are
being
set
with
hasMany
,
hasOne
,
ownsMany
and
ownsOne
methods
.
manual/documentation.php
View file @
85a799ea
...
...
@@ -275,6 +275,10 @@ $menu = array("Getting started" =>
"OffsetIterator")
*/
),
"DQL (Doctrine Query Language)"
=>
array
(
),
"Transactions"
=>
array
(
"Introduction"
,
"Unit of work"
,
...
...
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