[PHP-DOC] CVS Account Request: eniac2008

2008-12-12 Thread Gang Chen
Translating the documentation
Maintaining the documentation


Re: [PHP-DOC] CVS Account Request: eniac2008

2008-12-12 Thread Daniel Brown
On Fri, Dec 12, 2008 at 17:35, Gang Chen eniac2...@gmail.com wrote:
 Translating the documentation
 Maintaining the documentation

Thanks for your interest.  Into what language are you looking to translate?

Generally, we ask that people send a couple of documentation
patches to the list for review first (preferably to the appropriate
translation list), then read through the information and apply for
Doc Group karma at http://php.net/cvs-php.php

Any questions, just send them back here to the list.  Thanks again!

-- 
/Daniel P. Brown
http://www.parasane.net/
daniel.br...@parasane.net || danbr...@php.net
50% Off Hosting! http://www.pilotpig.net/specials.php


Re: [PHP-DOC] CVS Account Request: eniac2008

2008-12-12 Thread Gang Chen
Sorry for not filling the apply form clearly. I want to
translate/maintain the zh document and Philip Olson suggests me to
apply an account.

Thanks for you quick response.

Regards,
Gang Chen

2008/12/13 Daniel Brown danbr...@php.net:
 On Fri, Dec 12, 2008 at 17:35, Gang Chen eniac2...@gmail.com wrote:
 Translating the documentation
 Maintaining the documentation

Thanks for your interest.  Into what language are you looking to translate?

Generally, we ask that people send a couple of documentation
 patches to the list for review first (preferably to the appropriate
 translation list), then read through the information and apply for
 Doc Group karma at http://php.net/cvs-php.php

Any questions, just send them back here to the list.  Thanks again!

 --
 /Daniel P. Brown
 http://www.parasane.net/
 daniel.br...@parasane.net || danbr...@php.net
 50% Off Hosting! http://www.pilotpig.net/specials.php

?xml version='1.0' encoding='utf-8'?
!-- $Revision: 1.0 $ --
!-- $Author: Altair $ --
!-- EN-Revision: 1.14 Maintainer: Altair Status: ready --
refentry xml:id=function.class-implements xmlns=http://docbook.org/ns/docbook;
 refnamediv
  refnameclass_implements/refname
  refpurpose
   返回指定的类实现的所有接口。
  /refpurpose
 /refnamediv
 refsect1 role=description
  reftitle.description;
  methodsynopsis
   typearray/typemethodnameclass_implements/methodname
   methodparamtypemixed/typeparameterclass/parameter/methodparam
   methodparam choice=opttypebool/typeparameterautoload/parameter/methodparam
  /methodsynopsis
  para
   本函数返回一个数组,该数组中包含了指定类parameterclass/parameter及其父类所实现的所有接口的名称。
  /para
 /refsect1

 refsect1 role=parameters
  reftitle.parameters;
  para
   variablelist
varlistentry
 termparameterclass/parameter/term
 listitem
  para
对象(类实例)或字符串(类名称)。
  /para
 /listitem
/varlistentry
varlistentry
 termparameterautoload/parameter/term
 listitem
  para
  是否允许使用link linkend=language.oop5.autoload__autoload/link
  魔术函数来自动装载该类。默认值为true;。
  /para
 /listitem
/varlistentry
   /variablelist
  /para
 /refsect1


 refsect1 role=returnvalues
  reftitle.returnvalues;
  para
   调用成功则返回一个数组,否则返回false;。
  /para
 /refsect1

 refsect1 role=changelog
  reftitle.changelog;
  para
   informaltable
tgroup cols=2
 thead
  row
   entryVersion;/entry
   entryDescription;/entry
  /row
 /thead
 tbody
  row
   entry5.1.0/entry
   entry
增加了允许参数parameterclass/parameter为字符串的选项。增加了parameterautoload/parameter参数。
   /entry
  /row
 /tbody
/tgroup
   /informaltable
  /para
 /refsect1

 refsect1 role=examples
  reftitle.examples;
  para
   example
titlefunctionclass_implements/function example/title
programlisting role=php
![CDATA[
?php

interface foo { }
class bar implements foo {}

print_r(class_implements(new bar));

// since PHP 5.1.0 you may also specify the parameter as a string
print_r(class_implements('bar'));


function __autoload($class_name) {
   require_once $class_name . '.php';
}

// use __autoload to load the 'not_loaded' class
print_r(class_implements('not_loaded', true));

?
]]
/programlisting
example.outputs.similar;
screen
![CDATA[
Array
(
[foo] = foo
)

Array
(
[interface_of_not_loaded] = interface_of_not_loaded
)
]]
/screen
   /example
  /para
 /refsect1

 refsect1 role=seealso
  reftitle.seealso;
  para
   simplelist
memberfunctionclass_parents/function/member
memberfunctionget_declared_interfaces/function/member
   /simplelist
  /para
 /refsect1
/refentry

!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:../../../../manual.ced
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--
?xml version='1.0' encoding='utf-8'?
!-- $Revision: 1.0 $ --
!-- $Author: Altair $ --
!-- EN-Revision: 1.8 Maintainer: Altair Status: ready  --
refentry xml:id=function.spl-autoload-functions xmlns=http://docbook.org/ns/docbook;
 refnamediv
  refnamespl_autoload_functions/refname
  refpurpose返回所有已注册的__autoload()函数。/refpurpose
 /refnamediv
 refsect1 role=description
  reftitle.description;
  methodsynopsis
   typearray/typemethodnamespl_autoload_functions/methodname
   void/
  /methodsynopsis
  para
   获取所有已注册的 __autoload() 函数。
  /para
 /refsect1

 refsect1 role=parameters
  reftitle.parameters;
  no.function.parameters;
 /refsect1

 refsect1 

Re: [PHP-DOC] CVS Account Request: eniac2008

2008-12-12 Thread Daniel Brown
2008/12/12 Gang Chen eniac2...@gmail.com:
 Sorry for not filling the apply form clearly. I want to
 translate/maintain the zh document and Philip Olson suggests me to
 apply an account.

 Thanks for you quick response.

You're fine, actually.  ;-P

Philip told me a few moments ago that he spoke with you, so you
can disregard my earlier message.  Thanks again, Chen.

-- 
/Daniel P. Brown
http://www.parasane.net/
daniel.br...@parasane.net || danbr...@php.net
50% Off Hosting! http://www.pilotpig.net/specials.php


Re: [PHP-DOC] CVS Account Request: eniac2008

2008-12-12 Thread Philip Olson


On 12 Dec 2008, at 14:44, Daniel Brown wrote:


2008/12/12 Gang Chen eniac2...@gmail.com:

Sorry for not filling the apply form clearly. I want to
translate/maintain the zh document and Philip Olson suggests me to
apply an account.

Thanks for you quick response.


   You're fine, actually.  ;-P

   Philip told me a few moments ago that he spoke with you, so you
can disregard my earlier message.  Thanks again, Chen.


Hello Chen,

Your CVS account has been approved and karma granted... welcome to the  
documentation team! :)


Regards,
Philip

P.S. Chen posted several patches to doc...@lists.php.net


[PHP-DOC] Re: [PHP-CVS] cvs: php-src /ext/standard array.c

2008-12-12 Thread Kalle Sommer Nielsen
2008/12/12 Andrei Zmievski and...@php.net:
 andrei  Fri Dec 12 19:19:04 2008 UTC

  Modified files:
/php-src/ext/standard   array.c
  Log:
  Add sort flags parameter to array_unique().


 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.467r2=1.468diff_format=u

Guess it should have [DOC], cc'ed to phpdoc@ =)



-- 
Kalle Sommer Nielsen