Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed unused code

  • Loading branch information...
commit 317d220cd85d538f90ecdcbf47108c1d9115c989 1 parent b54bdbf
@mpscholten authored
Showing with 0 additions and 36 deletions.
  1. +0 −36 src/Propel/Generator/Builder/Om/ObjectBuilder.php
View
36 src/Propel/Generator/Builder/Om/ObjectBuilder.php
@@ -347,42 +347,6 @@ protected function addClassClose(&$script)
}
/**
- * Todo: find a way to handle behaviours
- */
-
- /**
- * Adds variables that store column values.
- *
- * @param string &$script
- */
- protected function addColumnAttributes(&$script)
- {
-
- $table = $this->getTable();
-
- foreach ($table->getColumns() as $col) {
- if ($col->getType() == PropelTypes::OBJECT || $col->getType() == PropelTypes::PHP_ARRAY) {
- $this->addColumnAttributeUnserializedComment($script, $col);
- $this->addColumnAttributeUnserializedDeclaration($script, $col);
- }
- }
- }
- /**
- * Adds the declaration of the serialized attribute.
- *
- * @param string &$script
- * @param Column $column
- */
- protected function addColumnAttributeUnserializedDeclaration(&$script, Column $column)
- {
- $clo = $column->getLowercasedName() . "_unserialized";
- $script .= "
- protected \$" . $clo . ";
-";
- }
-
-
- /**
* Adds a tester method for an array column.
*
* @param string &$script
Please sign in to comment.
Something went wrong with that request. Please try again.