diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index 83a175461..7d271825c 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -1493,17 +1493,6 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite $this->_table->setOption($name, $value); } } - /** - * index - * defines a foreignKey - * - * @param array $definition the definition array - * @return void - */ - public function foreignKey(array $definition = array()) - { - return $this->_table->addForeignKey($definition); - } /** * index * defines or retrieves an index @@ -1602,6 +1591,15 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite $this->_data = $data[0]; } + /** + * loadTemplate + * + * @param string $template + */ + public function loadTemplate($template) + { + return $this; + } /** * used to delete node from tree - MUST BE USE TO DELETE RECORD IF TABLE ACTS AS TREE *