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
50defa4f
Commit
50defa4f
authored
Mar 28, 2007
by
meus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed some small text on the Requirement page and the Installation page.
parent
4652ae5c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
19 deletions
+32
-19
Getting started - Installation.php
manual/codes/Getting started - Installation.php
+0
-14
Getting started - Installation - Include and autoload.php
...Getting started - Installation - Include and autoload.php
+21
-0
Getting started - Installation.php
manual/docs/Getting started - Installation.php
+9
-3
Getting started - Requirements.php
manual/docs/Getting started - Requirements.php
+1
-2
menu.php
manual/menu.php
+1
-0
No files found.
manual/codes/Getting started - Installation.php
deleted
100644 → 0
View file @
4652ae5c
<?php
require_once
(
"path-to-doctrine/Doctrine.php"
);
// autoloading objects
function
__autoload
(
$class
)
{
Doctrine
::
autoload
(
$class
);
}
// registering an autoload function, useful when multiple
// frameworks are using __autoload()
spl_autoload_register
(
array
(
'Doctrine'
,
'autoload'
));
?>
manual/docs/Getting started - Installation - Include and autoload.php
0 → 100644
View file @
50defa4f
In
order
to
use
Doctrine
in
your
project
it
must
first
be
included
.
<
code
type
=
"php"
>
require_once
(
"path-to-doctrine/lib/Doctrine.php"
);
</
code
>
Doctrine
support
[
http
://
www
.
php
.
net
/
autoload
Autoloading
]
for
including
files
so
that
you
do
not
have
to
include
anything
more
then
the
base
file
.
There
are
two
different
strategies
that
can
be
used
to
do
this
:
If
you
do
use
the
**
__autoload
**
function
for
your
own
logic
you
can
use
it
.
<
code
type
=
"php"
>
function
__autoload
(
$class
)
{
Doctrine
::
autoload
(
$class
);
}
</
code
>
If
your
project
uses
autoload
and
/
or
you
have
other
libraries
that
use
it
you
could
use
[
http
://
www
.
php
.
net
/
manual
/
en
/
function
.
spl
-
autoload
-
register
.
php
spl_autoload_register
]
to
register
more
then
one
autoloading
function
.
<
code
type
=
"php"
>
spl_autoload_register
(
array
(
'Doctrine'
,
'autoload'
));
</
code
>
manual/docs/Getting started - Installation.php
View file @
50defa4f
The
installation
of
doctrine
is
very
easy
.
Just
get
the
latest
revision
of
Doctrine
from
http
://
doctrine
.
pengus
.
net
/
svn
/
trunk
.
<
br
\
><
br
\
>
The
installation
of
doctrine
is
very
easy
.
Just
get
the
latest
revision
of
Doctrine
from
http
://
doctrine
.
pengus
.
net
/
svn
/
trunk
.
You
need
a
SVN
(
Subversion
)
client
for
downloading
Doctrine
.
To
check
out
Doctrine
using
the
**
svn
**
command
line
tool
in
the
current
directory
use
:
<
code
type
=
"bash"
>
svn
co
http
://
doctrine
.
pengus
.
net
/
svn
/
trunk
.
</
code
>
Do
check
out
using
a
GUI
based
tool
like
[
http
://
tortoisesvn
.
tigris
.
org
/
TortoiseSVN
]
simply
use
the
http
://
doctrine
.
pengus
.
net
/
svn
/
trunk
in
the
the
path
field
.
No
username
or
password
is
neccesary
.
manual/docs/Getting started - Requirements.php
View file @
50defa4f
Doctrine
requires
PHP
>=
5.1
.
it
doesn
'
t
require
any
external
libraries
.
For
database
abstraction
Doctrine
uses
PDO
which
is
bundled
with
php
by
default
.
Doctrine
also
requires
a
little
adodb
-
hack
for
table
creation
,
which
comes
with
doctrine
as
of
beta4
.
For
database
abstraction
Doctrine
uses
PDO
which
is
bundled
with
php
by
default
.
Doctrine
also
requires
a
little
adodb
-
hack
for
table
creation
,
which
comes
with
doctrine
.
manual/menu.php
View file @
50defa4f
Getting
started
Requirements
Installation
Include
and
autoload
Compiling
Starting
new
project
Working
with
existing
databases
...
...
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