@@ -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- .. php:class:: DateTime
51-
52- Datetime class
53-
54- .. php:method:: setDate($year, $month, $day)
55-
56- Set the date.
57-
58- :param int $year: The year.
59- :param int $month: The month.
60- :param int $day: The day.
61- :returns: Either false on failure, or the datetime object for method chaining.
62-
63-
64- .. php:method:: setTime($hour, $minute[, $second])
65-
66- Set the time.
67-
68- :param int $hour: The hour
69- :param int $minute: The minute
70- :param int $second: The second
71- :returns: Either false on failure, or the datetime object for method chaining.
72-
73- .. php:const:: ATOM
74-
75- Y-m-d\TH:i:sP
76-
77- Result
78- -----------------
79-
80- .. php :class :: DateTime
81- :noindexentry:
82- :nocontentsentry:
83-
84- Datetime class
85-
86- .. php :method :: setDate($year, $month, $day)
87- :noindexentry:
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- :noindexentry:
100- :nocontentsentry:
101-
102- Set the time.
103-
104- :param int $hour: The hour
105- :param int $minute: The minute
106- :param int $second: The second
107- :returns: Either false on failure, or the DateTime object for method chaining.
108-
109- .. php :const :: ATOM
110- :noindexentry:
111- :nocontentsentry:
112-
113- Y-m-d\T H:i: sP
114-
115- Cross referencing
116- -----------------
117-
118- From other place, you can create cross reference like that::
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