summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2013-02-28 13:56:07 +0000
committerSimon Holywell <[email protected]>2013-02-28 13:56:07 +0000
commitc3520a87373e81df80b437d1d7b3a824de08fb28 (patch)
tree9546a43def793fa01c968400423858e70089bab6 /docs
parent05fb43ccadf57af00cb07192d3b2aec71ef0d952 (diff)
parenta4b088a4df13445bff46cdd0521a70d523913958 (diff)
Merge branch 'master' of https://github.com/j4mie/idiorm
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py6
-rw-r--r--docs/configuration.rst4
-rw-r--r--docs/querying.rst2
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 85edfb3..1d407d0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,16 +41,16 @@ master_doc = 'index'
# General information about the project.
project = u'Idiorm'
-copyright = u'2012, Jamie Matthews, Simon Holywell, Durham Hale'
+copyright = u'2013, Jamie Matthews, Simon Holywell, Durham Hale'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
-version = '1.2.3'
+version = ''
# The full version, including alpha/beta/rc tags.
-release = '1.2.3'
+release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/docs/configuration.rst b/docs/configuration.rst
index 70f99b3..6bfd464 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -82,7 +82,7 @@ configuration array shortcut:
.. code-block:: php
ORM::configure(array(
- 'mysql:host=localhost;dbname=my_database',
+ 'connection_string' => 'mysql:host=localhost;dbname=my_database',
'username' => 'database_user',
'password' => 'top_secret'
));
@@ -243,4 +243,4 @@ Warnings and gotchas
.. _the PDO documentation: http://www.php.net/manual/en/pdo.construct.php
.. _the PDO set attribute documentation: http://uk2.php.net/manual/en/pdo.setattribute.php
.. _PDOStatement documentation: http://www.php.net/manual/en/class.pdostatement.php
-.. _Memcached: http://www.memcached.org/ \ No newline at end of file
+.. _Memcached: http://www.memcached.org/
diff --git a/docs/querying.rst b/docs/querying.rst
index 41c38d6..6d83fff 100644
--- a/docs/querying.rst
+++ b/docs/querying.rst
@@ -455,7 +455,7 @@ key in an associative array):
.. code-block:: php
- $people = ORM::for_table('person')->select_many(array('first_name' => 'name', 'age'), 'height')->find_many();
+ $people = ORM::for_table('person')->select_many(array('first_name' => 'name'), 'age', 'height')->find_many();
Will result in the query: