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
a7d1d643
Commit
a7d1d643
authored
May 21, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated doc blocks
parent
ad0c3e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
Table.php
lib/Doctrine/Table.php
+17
-1
No files found.
lib/Doctrine/Table.php
View file @
a7d1d643
...
@@ -492,7 +492,16 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
...
@@ -492,7 +492,16 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
{
{
return
$this
->
repository
;
return
$this
->
repository
;
}
}
/**
* setOption
* sets an option and returns this object in order to
* allow flexible method chaining
*
* @see Doctrine_Table::$_options for available options
* @param string $name the name of the option to set
* @param mixed $value the value of the option
* @return Doctrine_Table this object
*/
public
function
setOption
(
$name
,
$value
)
public
function
setOption
(
$name
,
$value
)
{
{
switch
(
$name
)
{
switch
(
$name
)
{
...
@@ -510,6 +519,13 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
...
@@ -510,6 +519,13 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
}
}
$this
->
options
[
$name
]
=
$value
;
$this
->
options
[
$name
]
=
$value
;
}
}
/**
* getOption
* returns the value of given option
*
* @param string $name the name of the option
* @return mixed the value of given option
*/
public
function
getOption
(
$name
)
public
function
getOption
(
$name
)
{
{
if
(
isset
(
$this
->
options
[
$name
]))
{
if
(
isset
(
$this
->
options
[
$name
]))
{
...
...
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