Форум: Форум PHPФорум ApacheФорум Регулярные ВыраженияФорум MySQLHTML+CSS+JavaScriptФорум FlashРазное
Новые темы: 0000000
PHP Puzzles. Авторы: Кузнецов М.В., Симдянов И.В. Самоучитель PHP 5 / 6 (3 издание). Авторы: Кузнецов М.В., Симдянов И.В. Самоучитель MySQL 5. Авторы: Кузнецов М.В., Симдянов И.В. PHP 5. На примерах. Авторы: Кузнецов М.В., Симдянов И.В., Голышев С.В. Социальная инженерия и социальные хакеры. Авторы: Кузнецов М.В., Симдянов И.В.
ВСЕ НАШИ КНИГИ
Консультационный центр SoftTime

Форум PHP

Выбрать другой форум

 

Здравствуйте, Посетитель!

вид форума:
Линейный форум Структурный форум

тема: metadocument в phpDoc
 
 автор: Sfinks   (17.07.2013 в 11:01)   письмо автору
 
 

Накто не знает автоматизированного способа перевода комментариев в вот таком стиле:
/*
{metadocument}
  <function>
    <name>ResetAccessToken</name>
    <type>BOOLEAN</type>
    <documentation>
      <purpose>Reset the access token to a state back when the user has
        not yet authorized the access to the OAuth server API.</purpose>
      <usage>Call this function if for some reason the token to access
        the API was revoked and you need to ask the user to authorize
        the access again.<paragraphbreak />
        By default the class stores and retrieves access tokens in a
        session variable named
        <stringvalue>OAUTH_ACCESS_TOKEN</stringvalue>.<paragraphbreak />
        This function must be called when the user is accessing your site
        pages, so it can reset the information stored in session variables
        that cache the state of a previously retrieved access
        token.<paragraphbreak />
        Actual implementations should create a sub-class and override this
        function to reset the access token state when it is stored in
        other types of containers, like for instance databases.</usage>
      <returnvalue>This function should return
        <booleanvalue>1</booleanvalue> if the access token was resetted
        successfully.</returnvalue>
    </documentation>
    <do>
{/metadocument}
*/
в привычный phpDoc?

P.S. Написать парсер - не предлагайте плиз. Уверен что оно уже написано до меня.

  Ответить  
Rambler's Top100
вверх

Rambler's Top100 Яндекс.Метрика Яндекс цитирования