1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-27 16:21:29 +00:00
parent a65524ebd9
commit 94fb249ea2

View File

@ -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
*