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
edbe7b21
Commit
edbe7b21
authored
May 30, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed file/folder
parent
6aeeede8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
64 deletions
+0
-64
ConfigurableComponent.class.php
classes/ConfigurableComponent.class.php
+0
-64
No files found.
classes/ConfigurableComponent.class.php
deleted
100644 → 0
View file @
6aeeede8
<?php
abstract
class
Doctrine_Component
{
/**
* setTableName
* @param string $name table name
* @return void
*/
final
public
function
setTableName
(
$name
)
{
$this
->
getComponent
()
->
setTableName
(
$name
);
}
/**
* setInheritanceMap
* @param array $inheritanceMap
* @return void
*/
final
public
function
setInheritanceMap
(
array
$inheritanceMap
)
{
$this
->
getComponent
()
->
setInheritanceMap
(
$inheritanceMap
);
}
/**
* setAttribute
* @param integer $attribute
* @param mixed $value
* @see Doctrine::ATTR_* constants
* @return void
*/
final
public
function
setAttribute
(
$attribute
,
$value
)
{
$this
->
getComponent
()
->
setAttribute
(
$attribute
,
$value
);
}
/**
* @param string $objTableName
* @param string $fkField
* @return void
*/
final
public
function
ownsOne
(
$componentName
,
$foreignKey
)
{
$this
->
getComponent
()
->
bind
(
$componentName
,
$foreignKey
,
Doctrine_Table
::
ONE_COMPOSITE
);
}
/**
* @param string $objTableName
* @param string $fkField
* @return void
*/
final
public
function
ownsMany
(
$componentName
,
$foreignKey
)
{
$this
->
getComponent
()
->
bind
(
$componentName
,
$foreignKey
,
Doctrine_Table
::
MANY_COMPOSITE
);
}
/**
* @param string $objTableName
* @param string $fkField
* @return void
*/
final
public
function
hasOne
(
$componentName
,
$foreignKey
)
{
$this
->
getComponent
()
->
bind
(
$componentName
,
$foreignKey
,
Doctrine_Table
::
ONE_AGGREGATE
);
}
/**
* @param string $objTableName
* @param string $fkField
* @return void
*/
final
public
function
hasMany
(
$componentName
,
$foreignKey
)
{
$this
->
getComponent
()
->
bind
(
$componentName
,
$foreignKey
,
Doctrine_Table
::
MANY_AGGREGATE
);
}
abstract
public
function
getComponent
();
}
?>
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