History

Update PHP documentation (5.5.10)

Thibaut committed 12 years ago

Commit 986d6ca1 parent 85410d62 files · +13 −12Browse files

Unified · Split

2 files
  1. lib/docs/filters/php/entries.rb +3 −2
  2. lib/docs/scrapers/php.rb +10 −10
lib/docs/filters/php/entries.rb+3−2
@@ -12,6 +12,7 @@ module Docs · 11 unmodified lines
12 'Http' => 'HTTP',12 'Http' => 'HTTP',
13 'Mutex' => 'pthreads',13 'Mutex' => 'pthreads',
14 'php_user_filter' => 'Stream',14 'php_user_filter' => 'Stream',
15 'Pool' => 'pthreads',
15 'Reflector' => 'Reflection',16 'Reflector' => 'Reflection',
16 'Soap' => 'SOAP',17 'Soap' => 'SOAP',
17 'SplFile' => 'SPL/File',18 'SplFile' => 'SPL/File',
@@ -25,8 +26,8 @@ module Docs · 7 unmodified lines
25 'XsltProcessor' => 'XSLT',26 'XsltProcessor' => 'XSLT',
26 'ZipArchive' => 'Zip' }27 'ZipArchive' => 'Zip' }
27 28
28 %w(APC AMQP Directory DOM Gearman Gmagick Imagick mysqli OAuth PDO29 %w(APC Directory DOM Gearman Gmagick Imagick mysqli OAuth PDO Reflection
29 Reflection Session SimpleXML Solr Sphinx SQLite3 Varnish XSLT Yaf).each do |str|30 Session SimpleXML Solr Sphinx SQLite3 Varnish XSLT Yaf).each do |str|
30 TYPE_BY_NAME_STARTS_WITH[str] = str31 TYPE_BY_NAME_STARTS_WITH[str] = str
31 end32 end
32 33
lib/docs/scrapers/php.rb+10−10
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Php < FileScraper2 class Php < FileScraper
3 self.name = 'PHP'3 self.name = 'PHP'
4 self.type = 'php'4 self.type = 'php'
5 self.version = 'up to 5.5.9'5 self.version = 'up to 5.5.10'
6 self.base_url = 'http://www.php.net/manual/en/'6 self.base_url = 'http://www.php.net/manual/en/'
7 self.root_path = 'index.html'7 self.root_path = 'index.html'
8 self.initial_paths = %w(8 self.initial_paths = %w(
@@ -32,15 +32,15 @@ module Docs · 23 unmodified lines
32 /\Areserved\.interfaces/,32 /\Areserved\.interfaces/,
33 /\Areserved\.variables/]33 /\Areserved\.variables/]
34 34
35 BOOKS = %w(amqp apache apc array bc bzip2 calendar classobj ctype curl35 BOOKS = %w(apache apc array bc bzip2 calendar classobj ctype curl datetime
36 datetime dba dir dom eio errorfunc exec fileinfo filesystem filter ftp36 dba dir dom eio errorfunc exec fileinfo filesystem filter ftp funchand
37 funchand gearman geoip gettext gmagick hash http iconv iisfunc image37 gearman geoip gettext gmagick hash http iconv iisfunc image imagick imap
38 imagick imap info inotify intl json ldap libevent libxml mail mailparse38 info inotify intl json ldap libevent libxml mail mailparse math mbstring
39 math mbstring mcrypt memcached misc mysqli network oauth openssl39 mcrypt memcached misc mysqli network oauth openssl outcontrol password
40 outcontrol password pcre pdo pgsql posix pthreads regex runkit reflection40 pcre pdo pgsql posix pthreads regex runkit reflection session
41 session session-pgsql simplexml soap sockets solr sphinx spl spl-types41 session-pgsql simplexml soap sockets solr sphinx spl spl-types sqlite3
42 sqlite3 sqlsrv ssh2 stats stream strings taint tidy uodbc url var varnish42 sqlsrv ssh2 stats stream strings taint tidy uodbc url var varnish xml
43 xml xmlreader xmlrpc xmlwriter xsl yaf yaml zip zlib)43 xmlreader xmlrpc xmlwriter xsl yaf yaml zip zlib)
44 44
45 options[:only] = BOOKS.map { |s| "book.#{s}.html" }45 options[:only] = BOOKS.map { |s| "book.#{s}.html" }
46 46