Added: phpdoc/ar/trunk/language/predefined/arrayaccess.xml =================================================================== --- phpdoc/ar/trunk/language/predefined/arrayaccess.xml (rev 0) +++ phpdoc/ar/trunk/language/predefined/arrayaccess.xml 2011-10-30 11:59:54 UTC (rev 318591) @@ -0,0 +1,145 @@ + + + + + + + + واجهة الوصول للمصفوفات ArrayAccess + ArrayAccess + + + + +
+ &reftitle.intro; + + هذه الواجهة توفر إمكانية الوصول للكائنات على شكل مصفوفات + +
+ + +
+ &reftitle.interfacesynopsis; + + + + ArrayAccess + + + + + ArrayAccess + + + + + &Methods; + + + + +
+ +
+ + طريقة الاستخدام + +container = array( + "one" => 1, + "two" => 2, + "three" => 3, + ); + } + public function offsetSet($offset, $value) { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + public function offsetExists($offset) { + return isset($this->container[$offset]); + } + public function offsetUnset($offset) { + unset($this->container[$offset]); + } + public function offsetGet($offset) { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } +} + +$obj = new obj; + +var_dump(isset($obj["two"])); +var_dump($obj["two"]); +unset($obj["two"]); +var_dump(isset($obj["two"])); +$obj["two"] = "A value"; +var_dump($obj["two"]); +$obj[] = 'Append 1'; +$obj[] = 'Append 2'; +$obj[] = 'Append 3'; +print_r($obj); +?> +]]> + + &example.outputs.similar; + + Array + ( + [one] => 1 + [three] => 3 + [two] => A value + [0] => Append 1 + [1] => Append 2 + [2] => Append 3 + ) + +) +]]> + + +
+ +
+ + &language.predefined.arrayaccess.offsetexists; + &language.predefined.arrayaccess.offsetget; + &language.predefined.arrayaccess.offsetset; + &language.predefined.arrayaccess.offsetunset; + +
+ + Property changes on: phpdoc/ar/trunk/language/predefined/arrayaccess.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Added: phpdoc/ar/trunk/reference/info/functions/getenv.xml =================================================================== --- phpdoc/ar/trunk/reference/info/functions/getenv.xml (rev 0) +++ phpdoc/ar/trunk/reference/info/functions/getenv.xml 2011-10-30 11:59:54 UTC (rev 318591) @@ -0,0 +1,105 @@ + + + + + + + getenv + تستخدم لجلب قيمة متغير من متغيرات بيئة الاستخدام Environment Variable + + + + &reftitle.description; + + stringgetenv + stringvarname + + + جلب بيئة المتغير + + + بإمكانك الاطلاع على قائمة متغيرات بيئة الاستخدام عن طريق دالة + phpinfo. يتم سرد هذه المتغيرت على طريقة + RFC 3875، على وجه التحديد + القسم 4.1، "Request Meta-Variables". + + + + + &reftitle.parameters; + + + + المتغير + + + اسم المتغير. + + + + + + + + + &reftitle.returnvalues; + + ترجع قيمة المتغير الى اسمه + varname, او &false; اذا القيمة + المتغير قيمة المتغير ليست موجودة. + + + + + &reftitle.examples; + + + <function>getenv</function> مثال + + +]]> + + + + + + + &reftitle.seealso; + + + putenv + apache_getenv + superglobals + + + + + + + Property changes on: phpdoc/ar/trunk/reference/info/functions/getenv.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Added: phpdoc/ar/trunk/reference/mysql/functions/mysql-create-db.xml =================================================================== --- phpdoc/ar/trunk/reference/mysql/functions/mysql-create-db.xml (rev 0) +++ phpdoc/ar/trunk/reference/mysql/functions/mysql-create-db.xml 2011-10-30 11:59:54 UTC (rev 318591) @@ -0,0 +1,128 @@ + + + + + + + mysql_create_db + يستخدم لإنشاء قاعدة البيانات + + + + &reftitle.description; + + boolmysql_create_db + stringإسم قاعدة البيانات + resourcelink_identifier + + + mysql_create_db تقوم بإنشاء قاعدة البيانات مع السيرفر المرتبط مع الlink identifier + + + + + &reftitle.parameters; + + + + إسم قاعدة البيانات + + + الإسم الخاص بقاعدة البيانات التي سيتم إنشاءها + + + + &mysql.linkid.description; + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + <function>mysql_create_db</function> alternative example + + الدالة mysql_create_db تم إهمالها. من المفضل إستخدام الدالة mysql_query لعمل Sql Query + CREATE DATABASE كبديل عن mysql_create_db. + + + +]]> + + &example.outputs.similar; + + + + + + + + + &reftitle.notes; + + + &info.deprecated.alias; + mysql_createdb + + + + + هذه الدالة لن تكون متوافرة متوفرة إذا كانت التوسعة (مكتبة الدوال) مبنية على إصدار MySQL 4.x client library. + + + + + + &reftitle.seealso; + + + mysql_query + mysql_select_db + + + + + + Property changes on: phpdoc/ar/trunk/reference/mysql/functions/mysql-create-db.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Added: phpdoc/ar/trunk/reference/spl/splfileinfo/getatime.xml =================================================================== --- phpdoc/ar/trunk/reference/spl/splfileinfo/getatime.xml (rev 0) +++ phpdoc/ar/trunk/reference/spl/splfileinfo/getatime.xml 2011-10-30 11:59:54 UTC (rev 318591) @@ -0,0 +1,72 @@ + + + + + + + + SplFileInfo::getATime + للحصول على زمن/وقت آخر وصول للملف + + + + &reftitle.description; + + public intSplFileInfo::getATime + + + + تجلب الزمن أو الوقت لآخر وصول تم لهذا الملف. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + تعيد القيمة الزمنية لآخر وصول تم لهذا الملف. + + + + + &reftitle.errors; + + تطلق استثناء RunTimeException عند حدوث خطأ. + + + + + &reftitle.seealso; + + + fileatime + + + + + + + Property changes on: phpdoc/ar/trunk/reference/spl/splfileinfo/getatime.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native