Skip to content

[Waiting code merge] Tweaked links to become phpmethod roles #1978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 24, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions contributing/documentation/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ and to the PHP documentation:

:phpclass:`SimpleXMLElement`

`DateTime::createFromFormat`_
:phpmethod:`DateTime::createFromFormat`

:phpfunction:`iterator_to_array`

Expand Down Expand Up @@ -219,4 +219,3 @@ Installing the Sphinx extensions
.. _Pygments website: http://pygments.org/languages/
.. _source: https://github.com/fabpot/sphinx-php
.. _Sphinx quick setup: http://sphinx-doc.org/tutorial.html#setting-up-the-documentation-sources
.. _`DateTime::createFromFormat`: http://php.net/manual/en/datetime.createfromformat.php
4 changes: 1 addition & 3 deletions reference/forms/types/country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The "value" for each country is the two-letter country code.

.. note::

The locale of your user is guessed using `Locale::getDefault()`_
The locale of your user is guessed using :phpmethod:`Locale::getDefault`

Unlike the ``choice`` type, you don't need to specify a ``choices`` or
``choice_list`` option as the field type automatically uses all of the countries
Expand Down Expand Up @@ -58,5 +58,3 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
.. include:: /reference/forms/types/options/label.rst.inc

.. include:: /reference/forms/types/options/read_only.rst.inc

.. _`Locale::getDefault()`: http://php.net/manual/en/locale.getdefault.php
4 changes: 1 addition & 3 deletions reference/forms/types/language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The "value" for each language is the *Unicode language identifier*

.. note::

The locale of your user is guessed using `Locale::getDefault()`_
The locale of your user is guessed using :phpmethod:`Locale::getDefault`

Unlike the ``choice`` type, you don't need to specify a ``choices`` or
``choice_list`` option as the field type automatically uses a large list
Expand Down Expand Up @@ -59,5 +59,3 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
.. include:: /reference/forms/types/options/label.rst.inc

.. include:: /reference/forms/types/options/read_only.rst.inc

.. _`Locale::getDefault()`: http://php.net/manual/en/locale.getdefault.php
4 changes: 1 addition & 3 deletions reference/forms/types/locale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ the ISO3166 *country* code (e.g. ``fr_FR`` for French/France).

.. note::

The locale of your user is guessed using `Locale::getDefault()`_
The locale of your user is guessed using :phpmethod:`Locale::getDefault`

Unlike the ``choice`` type, you don't need to specify a ``choices`` or
``choice_list`` option as the field type automatically uses a large list
Expand Down Expand Up @@ -60,5 +60,3 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
.. include:: /reference/forms/types/options/label.rst.inc

.. include:: /reference/forms/types/options/read_only.rst.inc

.. _`Locale::getDefault()`: http://php.net/manual/en/locale.getdefault.php