Skip to content

Commit

Permalink
Fixed documentation for CMS7
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Schreiber committed Nov 29, 2014
1 parent f45f8ed commit c4cdc4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Documentation/ApiOverview/Examples/ContextualMenu/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ file of the "examples" extension):
);
.. note::

There's an additional :code:`path:` property, which would point to the
PHP file to include, but it is not necessary when using namespaced classes.
They will be autoloaded.
The class (:code:`\Documentation\Examples\Service\ContextMenuOptions`) looks like this:

Expand Down Expand Up @@ -167,13 +162,13 @@ is required (taken from :file:`typo3/sysext/beuser/Resources/Private/Templates/B
:emphasize-lines: 2,2
<td class="col-icon">
<a href="#" onClick="Clickmenu.show('be_users', '{backendUser.uid}', '1', '', '', ''); return false;" title="id={backendUser.uid}">
<a href="#" onClick="TYPO3.Clickmenu.show('be_users', '{backendUser.uid}', '1', '', '', ''); return false;" title="id={backendUser.uid}">
<bu:spriteIconForRecord table="be_users" object="{backendUser}" />
</a>
</td>
the relevant line being highlighted.

The same code works for files. In this case however, the first argument to
:code:`Clickmenu.show()` should be the absolute file path (instead of the table)
:code:`TYPO3.Clickmenu.show()` should be the absolute file path (instead of the table)
and the second parameter (the uid) should be left blank.
6 changes: 6 additions & 0 deletions Documentation/ApiOverview/Logging/Processors/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ class
function
function name.

=================== ========= ========= ========================================================================= =============
Option Mandatory Type Description Default
=================== ========= ========= ========================================================================= =============
appendFullBackTrace no boolean Add full backtrace to the log :code:`FALSE`
shiftBackTraceLevel no integer Removes the given number of entries from the top of the backtrace stack :code:`0`
=================== ========= ========= ========================================================================= =============

.. _logging-processors-memory:

Expand Down

0 comments on commit c4cdc4c

Please sign in to comment.