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
d0c9c577
Commit
d0c9c577
authored
Sep 06, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for api documentation styling and manual urls.
parent
48dbf083
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
17 deletions
+27
-17
routing.yml
website/apps/frontend/config/routing.yml
+4
-0
_key_features_list.php
...ps/frontend/modules/main/templates/_key_features_list.php
+8
-9
actions.class.php
...te/apps/frontend/modules/manual/actions/actions.class.php
+9
-7
api_documentation.css
website/web/css/api_documentation.css
+6
-1
No files found.
website/apps/frontend/config/routing.yml
View file @
d0c9c577
...
...
@@ -23,6 +23,10 @@ download:
url
:
/download
param
:
{
module
:
main
,
action
:
download
}
manual_chapter
:
url
:
/documentation/manual/:chapter
param
:
{
module
:
manual
,
action
:
index
}
manual
:
url
:
/documentation/manual/*
param
:
{
module
:
manual
,
action
:
index
}
...
...
website/apps/frontend/modules/main/templates/_key_features_list.php
View file @
d0c9c577
<ul>
<li>
DQL (Doctrine Query Language)
</li>
<li>
Native SQL
</li>
<li>
Class Templates
</li>
<li>
Hierarchical Data
</li>
<li>
Supports most database types
</li>
<li>
Transactions
</li>
<li>
Caching
</li>
<li>
Fulltext Indexing/Searching
</li>
<li>
Plugins
</li>
<li>
<?php
echo
link_to
(
'DQL (Doctrine Query Language)'
,
'@manual_chapter?chapter=dql-doctrine-query-language'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Native SQL'
,
'@manual_chapter?chapter=native-sql'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Class Templates'
,
'@manual_chapter?chapter=class-templates'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Hierarchical Data'
,
'@manual_chapter?chapter=hierarchical-data'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Transactions'
,
'@manual_chapter?chapter=transactions'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Caching'
,
'@manual_chapter?chapter=caching'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Searching'
,
'@manual_chapter?chapter=searching'
);
?>
</li>
<li>
<?php
echo
link_to
(
'Plugins'
,
'@manual_chapter?chapter=Plugins'
);
?>
</li>
</ul>
\ No newline at end of file
website/apps/frontend/modules/manual/actions/actions.class.php
View file @
d0c9c577
...
...
@@ -214,9 +214,11 @@ class manualActions extends sfActions
$cache
->
save
(
$this
->
toc
,
'toc'
);
}
$format
=
$this
->
getRequestParameter
(
'format'
);
// Which format to output docs
if
(
isset
(
$_GET
[
'format'
])
)
{
$format
=
ucfirst
(
strtolower
(
$
_GET
[
'format'
]
));
if
(
$format
)
{
$format
=
ucfirst
(
strtolower
(
$
format
));
switch
(
$format
)
{
case
'Xhtml'
:
...
...
@@ -276,12 +278,12 @@ class manualActions extends sfActions
$viewIndex
=
true
;
if
(
isset
(
$_GET
[
'one-page'
]
))
{
if
(
$this
->
getRequest
()
->
hasParameter
(
'one-page'
))
{
$viewIndex
=
false
;
}
if
(
isset
(
$_GET
[
'chapter'
]
))
{
$section
=
$this
->
toc
->
findByPath
(
$
_GET
[
'chapter'
]
);
if
(
$this
->
getRequest
()
->
hasParameter
(
'chapter'
))
{
$section
=
$this
->
toc
->
findByPath
(
$
this
->
getRequestParameter
(
'chapter'
)
);
if
(
$section
&&
$section
->
getLevel
()
===
1
)
{
$title
=
$this
->
renderer
->
getOption
(
'title'
)
.
' - Chapter '
...
...
@@ -289,7 +291,7 @@ class manualActions extends sfActions
$this
->
renderer
->
setOptions
(
array
(
'section'
=>
$section
,
'url_prefix'
=>
'
?chapter=
'
,
'url_prefix'
=>
'
manual/
'
,
'title'
=>
$title
));
...
...
website/web/css/api_documentation.css
View file @
d0c9c577
...
...
@@ -127,3 +127,8 @@ td.type,.folder-title,.method-result,.include-type{ font-style: italic; }
.cmd-synopsis
{
margin
:
1em
0em
}
.cmd-title
{
font-weight
:
bold
}
.toc
{
margin-left
:
2em
;
padding-left
:
0em
}
#wrapper
#content
{
margin-right
:
250px
;
}
\ No newline at end of file
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