@@ -36,94 +36,16 @@ PHP Domain supports following objects:
3636
3737 Package\Subpackage\Class
3838
39+ See `Usage Example `_ in the documentation for information about how to use it.
40+
41+ .. _`Usage Example` : https://markstory.github.io/sphinxcontrib-phpdomain/usage.html
42+
3943URLs
4044====
4145
4246:PyPI: https://pypi.python.org/pypi/sphinxcontrib-phpdomain
4347:Documentation: https://markstory.github.io/sphinxcontrib-phpdomain/
4448
45- Quick Sample
46- ============
47-
48- This is source:
49-
50- .. code :: rst
51-
52- .. php:class:: DateTime
53-
54- Datetime class
55-
56- .. php:method:: setDate($year, $month, $day)
57-
58- Set the date.
59-
60- :param int $year: The year.
61- :param int $month: The month.
62- :param int $day: The day.
63- :returns: Either false on failure, or the datetime object for method chaining.
64-
65-
66- .. php:method:: setTime($hour, $minute[, $second])
67-
68- Set the time.
69-
70- :param int $hour: The hour
71- :param int $minute: The minute
72- :param int $second: The second
73- :returns: Either false on failure, or the datetime object for method chaining.
74-
75- .. php:const:: ATOM
76-
77- Y-m-d\TH:i:sP
78-
79- Result
80- -----------------
81-
82- .. php :class :: DateTime
83- :nocontentsentry:
84-
85- Datetime class
86-
87- .. php :method :: setDate($year, $month, $day)
88- :nocontentsentry:
89-
90- Set the date.
91-
92- :param int $year: The year.
93- :param int $month: The month.
94- :param int $day: The day.
95- :returns: Either false on failure, or the DateTime object for method chaining.
96-
97-
98- .. php :method :: setTime($hour, $minute[, $second])
99- :nocontentsentry:
100-
101- Set the time.
102-
103- :param int $hour: The hour
104- :param int $minute: The minute
105- :param int $second: The second
106- :returns: Either false on failure, or the DateTime object for method chaining.
107-
108- .. php :const :: ATOM
109- :nocontentsentry:
110-
111- Y-m-d\T H:i: sP
112-
113- Cross referencing
114- -----------------
115-
116- From other place, you can create cross reference like that:
117-
118- .. code :: rst
119-
120- You can modify a DateTime's date using :php:meth:`DateTime::setDate`.
121-
122- Result
123- -----------
124-
125- You can modify a DateTime's date using :php:meth: `DateTime::setDate `.
126-
12749Install
12850=======
12951
0 commit comments