From 85a799eaaa7318f4f0f7b373b3ccd9a056603d28 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 29 Aug 2006 20:37:55 +0000 Subject: [PATCH] --- Doctrine/Record.php | 1 + Doctrine/ValueHolder.php | 2 +- manual/codes/Getting started - Installation.php | 7 ++++--- manual/docs/Getting started - Installation.php | 5 +++-- manual/docs/Mapping object relations - Introduction.php | 1 + manual/documentation.php | 4 ++++ 6 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 manual/docs/Mapping object relations - Introduction.php diff --git a/Doctrine/Record.php b/Doctrine/Record.php index 622c36df8..6f5fda19a 100644 --- a/Doctrine/Record.php +++ b/Doctrine/Record.php @@ -1263,6 +1263,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite /** * countRelated * + * @param string $name the name of the related component * @return integer */ public function countRelated($name) { diff --git a/Doctrine/ValueHolder.php b/Doctrine/ValueHolder.php index 598060f01..1669c55aa 100644 --- a/Doctrine/ValueHolder.php +++ b/Doctrine/ValueHolder.php @@ -45,7 +45,7 @@ class Doctrine_ValueHolder extends Doctrine_Access implements Countable { public function get($name) { if( ! isset($this->data[$name])) - throw new InvalidKeyException("Unknown property $name."); + throw new Doctrine_Exception("Unknown property $name."); return $this->data[$name]; } diff --git a/manual/codes/Getting started - Installation.php b/manual/codes/Getting started - Installation.php index 374c50e47..21fbb94a3 100644 --- a/manual/codes/Getting started - Installation.php +++ b/manual/codes/Getting started - Installation.php @@ -1,5 +1,5 @@ diff --git a/manual/docs/Getting started - Installation.php b/manual/docs/Getting started - Installation.php index 3473b5ec4..1bb094966 100644 --- a/manual/docs/Getting started - Installation.php +++ b/manual/docs/Getting started - Installation.php @@ -1,3 +1,4 @@ -The installation of doctrine is very easy. Just extract doctrine.*.zip into your www folder. +The installation of doctrine is very easy. Just get the latest revision of Doctrine from +http://doctrine.pengus.net/svn/trunk.

-In the beginning of your every script you can put: +You need a SVN(Subversion) client for downloading Doctrine. diff --git a/manual/docs/Mapping object relations - Introduction.php b/manual/docs/Mapping object relations - Introduction.php new file mode 100644 index 000000000..1f0c49eb0 --- /dev/null +++ b/manual/docs/Mapping object relations - Introduction.php @@ -0,0 +1 @@ +In Doctrine all record relations are being set with hasMany, hasOne, ownsMany and ownsOne methods. diff --git a/manual/documentation.php b/manual/documentation.php index e45521ffd..eebdd8c22 100644 --- a/manual/documentation.php +++ b/manual/documentation.php @@ -275,6 +275,10 @@ $menu = array("Getting started" => "OffsetIterator") */ ), + "DQL (Doctrine Query Language)" => + array( + + ), "Transactions" => array( "Introduction", "Unit of work",