Update PHP documentation (5.5.10)

pull/67/merge
Thibaut 11 years ago
parent 85410d6190
commit 986d6cad04

@ -12,6 +12,7 @@ module Docs
'Http' => 'HTTP', 'Http' => 'HTTP',
'Mutex' => 'pthreads', 'Mutex' => 'pthreads',
'php_user_filter' => 'Stream', 'php_user_filter' => 'Stream',
'Pool' => 'pthreads',
'Reflector' => 'Reflection', 'Reflector' => 'Reflection',
'Soap' => 'SOAP', 'Soap' => 'SOAP',
'SplFile' => 'SPL/File', 'SplFile' => 'SPL/File',
@ -25,8 +26,8 @@ module Docs
'XsltProcessor' => 'XSLT', 'XsltProcessor' => 'XSLT',
'ZipArchive' => 'Zip' } 'ZipArchive' => 'Zip' }
%w(APC AMQP Directory DOM Gearman Gmagick Imagick mysqli OAuth PDO %w(APC Directory DOM Gearman Gmagick Imagick mysqli OAuth PDO Reflection
Reflection Session SimpleXML Solr Sphinx SQLite3 Varnish XSLT Yaf).each do |str| Session SimpleXML Solr Sphinx SQLite3 Varnish XSLT Yaf).each do |str|
TYPE_BY_NAME_STARTS_WITH[str] = str TYPE_BY_NAME_STARTS_WITH[str] = str
end end

@ -2,7 +2,7 @@ module Docs
class Php < FileScraper class Php < FileScraper
self.name = 'PHP' self.name = 'PHP'
self.type = 'php' self.type = 'php'
self.version = 'up to 5.5.9' self.version = 'up to 5.5.10'
self.base_url = 'http://www.php.net/manual/en/' self.base_url = 'http://www.php.net/manual/en/'
self.root_path = 'index.html' self.root_path = 'index.html'
self.initial_paths = %w( self.initial_paths = %w(
@ -32,15 +32,15 @@ module Docs
/\Areserved\.interfaces/, /\Areserved\.interfaces/,
/\Areserved\.variables/] /\Areserved\.variables/]
BOOKS = %w(amqp apache apc array bc bzip2 calendar classobj ctype curl BOOKS = %w(apache apc array bc bzip2 calendar classobj ctype curl datetime
datetime dba dir dom eio errorfunc exec fileinfo filesystem filter ftp dba dir dom eio errorfunc exec fileinfo filesystem filter ftp funchand
funchand gearman geoip gettext gmagick hash http iconv iisfunc image gearman geoip gettext gmagick hash http iconv iisfunc image imagick imap
imagick imap info inotify intl json ldap libevent libxml mail mailparse info inotify intl json ldap libevent libxml mail mailparse math mbstring
math mbstring mcrypt memcached misc mysqli network oauth openssl mcrypt memcached misc mysqli network oauth openssl outcontrol password
outcontrol password pcre pdo pgsql posix pthreads regex runkit reflection pcre pdo pgsql posix pthreads regex runkit reflection session
session session-pgsql simplexml soap sockets solr sphinx spl spl-types session-pgsql simplexml soap sockets solr sphinx spl spl-types sqlite3
sqlite3 sqlsrv ssh2 stats stream strings taint tidy uodbc url var varnish sqlsrv ssh2 stats stream strings taint tidy uodbc url var varnish xml
xml xmlreader xmlrpc xmlwriter xsl yaf yaml zip zlib) xmlreader xmlrpc xmlwriter xsl yaf yaml zip zlib)
options[:only] = BOOKS.map { |s| "book.#{s}.html" } options[:only] = BOOKS.map { |s| "book.#{s}.html" }

Loading…
Cancel
Save