1
0
mirror of https://github.com/php/doc-pl.git synced 2026-04-29 09:43:14 +02:00
Files
Maciej Sobaczewski df667bd333 UGH, sync enough files to get rid of non-existent safe-mode references
This not only gets rid of many errors but also updates a loot of files
to their most recent versions. Only the curl constants file will be
updated at later date.

It even updates a few files where the En-Revision was not set at all and
files were usually very outdated - thankfully I managed to update them
without rewriting everything from scratch.

All in all, should be really beneficial for the translation if anyone
ever decises to use it. For now it allows me to scratch this very
annoying itch and fix the Polish manual's build once more. We're almost
there...
2024-05-08 12:43:18 +02:00

120 lines
3.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 0c9c2dd669fe9395eaa73d487fbd160f9057429a Maintainer: adi Status: ready -->
<!-- $Revision$ -->
<refentry xml:id="function.chgrp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>chgrp</refname>
<refpurpose>Zmienia grupę pliku</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>chgrp</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>group</parameter></methodparam>
</methodsynopsis>
<para>
Próbuje zmienić grupę pliku podanego w parametrze <parameter>filename</parameter>
na grupę wybraną parametrem <parameter>group</parameter>
</para>
<para>
Tylko superużytkownik może zmienić dowolnie grupę pliku; inni użytkownicy mogą
zmienić grupę pliku na grupę, której sami są członkami.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
<para>
Ścieżka do pliku.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>group</parameter></term>
<listitem>
<para>
Numer lub nazwa grupy.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Zmiana grupy pliku</title>
<programlisting role="php">
<![CDATA[
<?php
$nazwa_pliku = 'wspoldzielony_plik.txt';
$format = "%s's Identyfikator grupy @ %s: %d\n";
printf($format, $nazwa_pliku, date('r'), filegroup($nazwa_pliku));
chgrp($filename, 8);
clearstatcache(); // nie buforuj wyników filegroup()
printf($format, $nazwa_pliku, date('r'), filegroup($nazwa_pliku));
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.no-remote;
<note>
<simpara>
Pod Windowsem ta funkcja nie zmienia grupy (bez zwracania jakiegokolwiek błędu) dla zwykłych plików.
</simpara>
</note>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>chown</function></member>
<member><function>chmod</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:"~/.phpdoc/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
-->