PageRenderTime 70ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 3ms

/plugins/com.aptana.editor.php.epl/Resources/language/php4/basic.php

https://github.com/haegyung/aptana-php
PHP | 25462 lines | 2789 code | 2980 blank | 19693 comment | 0 complexity | 519878241a771af587f26661751cdf02 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /**
  3. * Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist
  4. *
  5. * @return string
  6. * @param msgid string
  7. */
  8. function _($msgid) {}
  9. /**
  10. * Return the absolute value of the number
  11. *
  12. * @return int
  13. * @param number int
  14. */
  15. function abs($number) {}
  16. /**
  17. * Return the arc cosine of the number in radians
  18. *
  19. * @return float
  20. * @param number float
  21. */
  22. function acos($number) {}
  23. /**
  24. * Returns the inverse hyperbolic cosine of the number, i.e. the value whose hyperbolic cosine is number
  25. *
  26. * @return float
  27. * @param number float
  28. */
  29. function acosh($number) {}
  30. /**
  31. * Escapes all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...)
  32. *
  33. * @return string
  34. * @param str string
  35. * @param charlist string
  36. */
  37. function addcslashes($str, $charlist) {}
  38. /**
  39. * Escapes single quote, double quotes and backslash characters in a string with backslashes
  40. *
  41. * @return string
  42. * @param str string
  43. */
  44. function addslashes($str) {}
  45. /**
  46. *
  47. *
  48. * @return void
  49. * @param obj object
  50. * @param class string
  51. */
  52. function aggregate($obj, $class) {}
  53. /**
  54. *
  55. *
  56. * @return void
  57. * @param obj object
  58. * @param class string
  59. */
  60. function aggregate_methods($obj, $class) {}
  61. /**
  62. *
  63. *
  64. * @return void
  65. * @param obj object
  66. * @param class string
  67. * @param method_list array
  68. * @param exclude bool[optional]
  69. */
  70. function aggregate_methods_by_list($obj, $class, $method_list, $exclude = null) {}
  71. /**
  72. *
  73. *
  74. * @return void
  75. * @param obj object
  76. * @param class string
  77. * @param regexp string
  78. * @param exclude bool[optional]
  79. */
  80. function aggregate_methods_by_regexp($obj, $class, $regexp, $exclude = null) {}
  81. /**
  82. *
  83. *
  84. * @return void
  85. * @param obj object
  86. * @param class string
  87. */
  88. function aggregate_properties($obj, $class) {}
  89. /**
  90. *
  91. *
  92. * @return void
  93. * @param obj object
  94. * @param class string
  95. * @param props_list array
  96. * @param exclude bool[optional]
  97. */
  98. function aggregate_properties_by_list($obj, $class, $props_list, $exclude = null) {}
  99. /**
  100. *
  101. *
  102. * @return void
  103. * @param obj object
  104. * @param class string
  105. * @param regexp string
  106. * @param exclude bool[optional]
  107. */
  108. function aggregate_properties_by_regexp($obj, $class, $regexp, $exclude = null) {}
  109. /**
  110. *
  111. *
  112. * @return array
  113. * @param obj object
  114. */
  115. function aggregation_info($obj) {}
  116. /**
  117. * Terminate apache process after this request
  118. *
  119. * @return bool
  120. */
  121. function apache_child_terminate() {}
  122. /**
  123. * Get a list of loaded Apache modules
  124. *
  125. * @return array
  126. */
  127. function apache_get_modules() {}
  128. /**
  129. * Fetch Apache version
  130. *
  131. * @return string
  132. */
  133. function apache_get_version() {}
  134. /**
  135. * Get an Apache subprocess_env variable
  136. *
  137. * @return bool
  138. * @param variable string
  139. * @param walk_to_top bool[optional]
  140. */
  141. function apache_getenv($variable, $walk_to_top = null) {}
  142. /**
  143. * Perform a partial request of the given URI to obtain information about it
  144. *
  145. * @return object
  146. * @param URI string
  147. */
  148. function apache_lookup_uri($URI) {}
  149. /**
  150. * Get and set Apache request notes
  151. *
  152. * @return string
  153. * @param note_name string
  154. * @param note_value string[optional]
  155. */
  156. function apache_note($note_name, $note_value = null) {}
  157. /**
  158. * Get all headers from the request
  159. *
  160. * @return array
  161. */
  162. function apache_request_headers() {}
  163. /**
  164. * Get all headers from the response
  165. *
  166. * @return array
  167. */
  168. function apache_response_headers() {}
  169. /**
  170. * Set an Apache subprocess_env variable
  171. *
  172. * @return bool
  173. * @param variable string
  174. * @param value string
  175. * @param walk_to_top bool[optional]
  176. */
  177. function apache_setenv($variable, $value, $walk_to_top = null) {}
  178. /**
  179. * Retuns an array with all string keys lowercased [or uppercased]
  180. *
  181. * @return array
  182. * @param input array
  183. * @param case int[optional]
  184. */
  185. function array_change_key_case($input, $case = CASE_LOWER) {}
  186. /**
  187. * Split array into chunks
  188. *
  189. * @return array
  190. * @param input array
  191. * @param size int
  192. * @param preserve_keys bool[optional]
  193. */
  194. function array_chunk($input, $size, $preserve_keys = null) {}
  195. /**
  196. * Return the value as key and the frequency of that value in input as value
  197. *
  198. * @return array
  199. * @param input array
  200. */
  201. function array_count_values($input) {}
  202. /**
  203. * Returns the entries of arr1 that have values which are not present in any of the others arguments
  204. *
  205. * @return array
  206. * @param arr1 array
  207. * @param arr2 array
  208. * @vararg ... array
  209. */
  210. function array_diff($arr1, $arr2) {}
  211. /**
  212. * Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal
  213. *
  214. * @return array
  215. * @param arr1 array
  216. * @param arr2 array
  217. * @vararg ... array
  218. */
  219. function array_diff_assoc($arr1, $arr2) {}
  220. /**
  221. * Create an array containing num elements starting with index start_key each initialized to val
  222. *
  223. * @return array
  224. * @param start_key int
  225. * @param num int
  226. * @param val mixed
  227. */
  228. function array_fill($start_key, $num, $val) {}
  229. /**
  230. * Filters elements from the array via the callback.
  231. *
  232. * @return array
  233. * @param input array
  234. * @param callback mixed[optional]
  235. */
  236. function array_filter($input, $callback = null) {}
  237. /**
  238. * Return array with key <-> value flipped
  239. *
  240. * @return array
  241. * @param input array
  242. */
  243. function array_flip($input) {}
  244. /**
  245. * Returns the entries of arr1 that have values which are present in all the other arguments
  246. *
  247. * @return array
  248. * @param arr1 array
  249. * @param arr2 array
  250. * @vararg ... array
  251. */
  252. function array_intersect($arr1, $arr2) {}
  253. /**
  254. * Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrctive check
  255. *
  256. * @return array
  257. * @param arr1 array
  258. * @param arr2 array
  259. * @vararg ... array
  260. */
  261. function array_intersect_assoc($arr1, $arr2) {}
  262. /**
  263. * Checks if the given key or index exists in the array
  264. *
  265. * @return bool
  266. * @param key mixed
  267. * @param search array
  268. */
  269. function array_key_exists($key, $search) {}
  270. /**
  271. * Return just the keys from the input array, optionally only for the specified search_value
  272. *
  273. * @return array
  274. * @param input array
  275. * @param search_value mixed[optional]
  276. */
  277. function array_keys($input, $search_value = null) {}
  278. /**
  279. * Applies the callback to the elements in given arrays.
  280. *
  281. * @return array
  282. * @param callback mixed
  283. * @param input1 array
  284. * @param input2 array[optional]
  285. * @vararg ...
  286. */
  287. function array_map($callback, $input1, $input2 = null) {}
  288. /**
  289. * Merges elements from passed arrays into one array
  290. *
  291. * @return array
  292. * @param arr1 array
  293. * @param arr2 array
  294. * @vararg ... array
  295. */
  296. function array_merge($arr1, $arr2) {}
  297. /**
  298. * Recursively merges elements from passed arrays into one array
  299. *
  300. * @return array
  301. * @param arr1 array
  302. * @param arr2 array
  303. * @vararg ... array
  304. */
  305. function array_merge_recursive($arr1, $arr2) {}
  306. /**
  307. * Sort multiple arrays at once similar to how ORDER BY clause works in SQL
  308. *
  309. * @return bool
  310. * @param ar1 array
  311. * @param SORT_ASC|SORT_DESC unknown[optional]
  312. * @param SORT_REGULAR|SORT_NUMERIC|SORT_STRING unknown[optional]
  313. * @param ar2 array[optional]
  314. * @param SORT_ASC|SORT_DESC unknown[optional]
  315. * @param SORT_REGULAR|SORT_NUMERIC|SORT_STRING unknown[optional]
  316. * @vararg ...
  317. */
  318. function array_multisort($ar1, $SORT_ASC = null, $SORT_REGULAR = null, $ar2 = null, $SORT_ASC = null, $SORT_REGULAR = null) {}
  319. /**
  320. * Returns a copy of input array padded with pad_value to size pad_size
  321. *
  322. * @return array
  323. * @param input array
  324. * @param pad_size int
  325. * @param pad_value mixed
  326. */
  327. function array_pad($input, $pad_size, $pad_value) {}
  328. /**
  329. * Pops an element off the end of the array
  330. *
  331. * @return mixed
  332. * @param stack array
  333. */
  334. function array_pop($stack) {}
  335. /**
  336. * Pushes elements onto the end of the array
  337. *
  338. * @return int
  339. * @param stack array
  340. * @param var mixed
  341. * @vararg ... mixed
  342. */
  343. function array_push($stack, $var) {}
  344. /**
  345. * Return key/keys for random entry/entries in the array
  346. *
  347. * @return mixed
  348. * @param input array
  349. * @param num_req int[optional]
  350. */
  351. function array_rand($input, $num_req = null) {}
  352. /**
  353. * Iteratively reduce the array to a single value via the callback.
  354. *
  355. * @return mixed
  356. * @param input array
  357. * @param callback mixed
  358. * @param initial int[optional]
  359. */
  360. function array_reduce($input, $callback, $initial = null) {}
  361. /**
  362. * Return input as a new array with the order of the entries reversed
  363. *
  364. * @return array
  365. * @param input array
  366. * @param preserve_keys bool[optional]
  367. */
  368. function array_reverse($input, $preserve_keys = null) {}
  369. /**
  370. * Searches the array for a given value and returns the corresponding key if successful
  371. *
  372. * @return mixed
  373. * @param needle mixed
  374. * @param haystack array
  375. * @param strict bool[optional]
  376. */
  377. function array_search($needle, $haystack, $strict = null) {}
  378. /**
  379. * Pops an element off the beginning of the array
  380. *
  381. * @return mixed
  382. * @param stack array
  383. */
  384. function array_shift($stack) {}
  385. /**
  386. * Returns elements specified by offset and length
  387. *
  388. * @return array
  389. * @param input array
  390. * @param offset int
  391. * @param length int[optional]
  392. */
  393. function array_slice($input, $offset, $length = null) {}
  394. /**
  395. * Removes the elements designated by offset and length and replace them with supplied array
  396. *
  397. * @return array
  398. * @param input array
  399. * @param offset int
  400. * @param length int[optional]
  401. * @param replacement array[optional]
  402. */
  403. function array_splice($input, $offset, $length = null, $replacement = null) {}
  404. /**
  405. * Returns the sum of the array entries
  406. *
  407. * @return mixed
  408. * @param input array
  409. */
  410. function array_sum($input) {}
  411. /**
  412. * Removes duplicate values from array
  413. *
  414. * @return array
  415. * @param input array
  416. */
  417. function array_unique($input) {}
  418. /**
  419. * Pushes elements onto the beginning of the array
  420. *
  421. * @return int
  422. * @param stack array
  423. * @param var mixed
  424. * @vararg ... mixed
  425. */
  426. function array_unshift($stack, $var) {}
  427. /**
  428. * Return just the values from the input array
  429. *
  430. * @return array
  431. * @param input array
  432. */
  433. function array_values($input) {}
  434. /**
  435. * Apply a user function to every member of an array
  436. *
  437. * @return bool
  438. * @param input array
  439. * @param funcname string
  440. * @param userdata mixed[optional]
  441. */
  442. function array_walk($input, $funcname, $userdata = null) {}
  443. /**
  444. * Sort an array in reverse order and maintain index association
  445. *
  446. * @return bool
  447. * @param array_arg array
  448. * @param sort_flags int[optional]
  449. */
  450. function arsort($array_arg, $sort_flags = null) {}
  451. /**
  452. * Returns the arc sine of the number in radians
  453. *
  454. * @return float
  455. * @param number float
  456. */
  457. function asin($number) {}
  458. /**
  459. * Returns the inverse hyperbolic sine of the number, i.e. the value whose hyperbolic sine is number
  460. *
  461. * @return float
  462. * @param number float
  463. */
  464. function asinh($number) {}
  465. /**
  466. * Sort an array and maintain index association
  467. *
  468. * @return bool
  469. * @param array_arg array
  470. * @param sort_flags int[optional]
  471. */
  472. function asort($array_arg, $sort_flags = null) {}
  473. /**
  474. * Checks if assertion is false
  475. *
  476. * @return int
  477. * @param assertion string|bool
  478. */
  479. function assert($assertion) {}
  480. /**
  481. * Set/get the various assert flags
  482. *
  483. * @return mixed
  484. * @param what int
  485. * @param value mixed[optional]
  486. */
  487. function assert_options($what, $value = null) {}
  488. /**
  489. * Returns the arc tangent of the number in radians
  490. *
  491. * @return float
  492. * @param number float
  493. */
  494. function atan($number) {}
  495. /**
  496. * Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x
  497. *
  498. * @return float
  499. * @param y float
  500. * @param x float
  501. */
  502. function atan2($y, $x) {}
  503. /**
  504. * Returns the inverse hyperbolic tangent of the number, i.e. the value whose hyperbolic tangent is number
  505. *
  506. * @return float
  507. * @param number float
  508. */
  509. function atanh($number) {}
  510. /**
  511. * Decodes string using MIME base64 algorithm
  512. *
  513. * @return string
  514. * @param str string
  515. */
  516. function base64_decode($str) {}
  517. /**
  518. * Encodes string using MIME base64 algorithm
  519. *
  520. * @return string
  521. * @param str string
  522. */
  523. function base64_encode($str) {}
  524. /**
  525. * Converts a number in a string from any base <= 36 to any base <= 36
  526. *
  527. * @return string
  528. * @param number string
  529. * @param frombase int
  530. * @param tobase int
  531. */
  532. function base_convert($number, $frombase, $tobase) {}
  533. /**
  534. * Returns the filename component of the path
  535. *
  536. * @return string
  537. * @param path string
  538. * @param suffix string[optional]
  539. */
  540. function basename($path, $suffix = null) {}
  541. /**
  542. * Returns the sum of two arbitrary precision numbers
  543. *
  544. * @return string
  545. * @param left_operand string
  546. * @param right_operand string
  547. * @param scale int[optional]
  548. */
  549. function bcadd($left_operand, $right_operand, $scale = null) {}
  550. /**
  551. * Compares two arbitrary precision numbers
  552. *
  553. * @return int
  554. * @param left_operand string
  555. * @param right_operand string
  556. * @param scale int[optional]
  557. */
  558. function bccomp($left_operand, $right_operand, $scale = null) {}
  559. /**
  560. * Returns the quotient of two arbitrary precision numbers (division)
  561. *
  562. * @return string
  563. * @param left_operand string
  564. * @param right_operand string
  565. * @param scale int[optional]
  566. */
  567. function bcdiv($left_operand, $right_operand, $scale = null) {}
  568. /**
  569. * Returns the modulus of the two arbitrary precision operands
  570. *
  571. * @return string
  572. * @param left_operand string
  573. * @param right_operand string
  574. */
  575. function bcmod($left_operand, $right_operand) {}
  576. /**
  577. * Returns the multiplication of two arbitrary precision numbers
  578. *
  579. * @return string
  580. * @param left_operand string
  581. * @param right_operand string
  582. * @param scale int[optional]
  583. */
  584. function bcmul($left_operand, $right_operand, $scale = null) {}
  585. /**
  586. * Returns the value of an arbitrary precision number raised to the power of another
  587. *
  588. * @return string
  589. * @param x string
  590. * @param y string
  591. * @param scale int[optional]
  592. */
  593. function bcpow($x, $y, $scale = null) {}
  594. /**
  595. * Sets default scale parameter for all bc math functions
  596. *
  597. * @return bool
  598. * @param scale int
  599. */
  600. function bcscale($scale) {}
  601. /**
  602. * Returns the square root of an arbitray precision number
  603. *
  604. * @return string
  605. * @param operand string
  606. * @param scale int[optional]
  607. */
  608. function bcsqrt($operand, $scale = null) {}
  609. /**
  610. * Returns the difference between two arbitrary precision numbers
  611. *
  612. * @return string
  613. * @param left_operand string
  614. * @param right_operand string
  615. * @param scale int[optional]
  616. */
  617. function bcsub($left_operand, $right_operand, $scale = null) {}
  618. /**
  619. * Converts the binary representation of data to hex
  620. *
  621. * @return string
  622. * @param data string
  623. */
  624. function bin2hex($data) {}
  625. /**
  626. * Specify the character encoding in which the messages from the DOMAIN message catalog will be returned.
  627. *
  628. * @return string
  629. * @param domain string
  630. * @param codeset string
  631. */
  632. function bind_textdomain_codeset($domain, $codeset) {}
  633. /**
  634. * Returns the decimal equivalent of the binary number
  635. *
  636. * @return int
  637. * @param binary_number string
  638. */
  639. function bindec($binary_number) {}
  640. /**
  641. * Bind to the text domain domain_name, looking for translations in dir. Returns the current domain
  642. *
  643. * @return string
  644. * @param domain_name string
  645. * @param dir string
  646. */
  647. function bindtextdomain($domain_name, $dir) {}
  648. /**
  649. *
  650. *
  651. * @return bool
  652. * @param index int
  653. */
  654. function birdstep_autocommit($index) {}
  655. /**
  656. *
  657. *
  658. * @return bool
  659. * @param id int
  660. */
  661. function birdstep_close($id) {}
  662. /**
  663. *
  664. *
  665. * @return bool
  666. * @param index int
  667. */
  668. function birdstep_commit($index) {}
  669. /**
  670. *
  671. *
  672. * @return int
  673. * @param server string
  674. * @param user string
  675. * @param pass sting
  676. */
  677. function birdstep_connect($server, $user, $pass) {}
  678. /**
  679. *
  680. *
  681. * @return int
  682. * @param index int
  683. * @param exec_str string
  684. */
  685. function birdstep_exec($index, $exec_str) {}
  686. /**
  687. *
  688. *
  689. * @return bool
  690. * @param index int
  691. */
  692. function birdstep_fetch($index) {}
  693. /**
  694. *
  695. *
  696. * @return string
  697. * @param index int
  698. * @param col int
  699. */
  700. function birdstep_fieldname($index, $col) {}
  701. /**
  702. *
  703. *
  704. * @return int
  705. * @param index int
  706. */
  707. function birdstep_fieldnum($index) {}
  708. /**
  709. *
  710. *
  711. * @return bool
  712. * @param index int
  713. */
  714. function birdstep_freeresult($index) {}
  715. /**
  716. *
  717. *
  718. * @return bool
  719. * @param index int
  720. */
  721. function birdstep_off_autocommit($index) {}
  722. /**
  723. *
  724. *
  725. * @return mixed
  726. * @param index int
  727. * @param col int
  728. */
  729. function birdstep_result($index, $col) {}
  730. /**
  731. *
  732. *
  733. * @return bool
  734. * @param index int
  735. */
  736. function birdstep_rollback($index) {}
  737. /**
  738. * Returns the number of days in a month for a given year and calendar
  739. *
  740. * @return int
  741. * @param calendar int
  742. * @param month int
  743. * @param year int
  744. */
  745. function cal_days_in_month($calendar, $month, $year) {}
  746. /**
  747. * Converts from Julian Day Count to a supported calendar and return extended information
  748. *
  749. * @return array
  750. * @param jd int
  751. * @param calendar int
  752. */
  753. function cal_from_jd($jd, $calendar) {}
  754. /**
  755. * Returns information about a particular calendar
  756. *
  757. * @return array
  758. * @param calendar int
  759. */
  760. function cal_info($calendar) {}
  761. /**
  762. * Converts from a supported calendar to Julian Day Count
  763. *
  764. * @return int
  765. * @param calendar int
  766. * @param month int
  767. * @param day int
  768. * @param year int
  769. */
  770. function cal_to_jd($calendar, $month, $day, $year) {}
  771. /**
  772. * Call a user function which is the first parameter
  773. *
  774. * @return mixed
  775. * @param function_name string
  776. * @param parmeter mixed[optional]
  777. * @vararg ... mixed
  778. */
  779. function call_user_func($function_name, $parmeter = null) {}
  780. /**
  781. * Call a user function which is the first parameter with the arguments contained in array
  782. *
  783. * @return mixed
  784. * @param function_name string
  785. * @param parameters array
  786. */
  787. function call_user_func_array($function_name, $parameters) {}
  788. /**
  789. * Call a user method on a specific object or class
  790. *
  791. * @return mixed
  792. * @param method_name string
  793. * @param object mixed
  794. * @param parameter mixed[optional]
  795. * @vararg ... mixed
  796. */
  797. function call_user_method($method_name, $object, $parameter = null) {}
  798. /**
  799. * Call a user method on a specific object or class using a parameter array
  800. *
  801. * @return mixed
  802. * @param method_name string
  803. * @param object mixed
  804. * @param params array
  805. */
  806. function call_user_method_array($method_name, $object, $params) {}
  807. /**
  808. * Returns the next highest integer value of the number
  809. *
  810. * @return float
  811. * @param number float
  812. */
  813. function ceil($number) {}
  814. /**
  815. * Change the current directory
  816. *
  817. * @return bool
  818. * @param directory string
  819. */
  820. function chdir($directory) {}
  821. /**
  822. * Returns true(1) if it is a valid date in gregorian calendar
  823. *
  824. * @return bool
  825. * @param month int
  826. * @param day int
  827. * @param year int
  828. */
  829. function checkdate($month, $day, $year) {}
  830. /**
  831. * Check DNS records corresponding to a given Internet host name or IP address
  832. *
  833. * @return int
  834. * @param host string
  835. * @param type string[optional]
  836. */
  837. function checkdnsrr($host, $type = null) {}
  838. /**
  839. * Change file group
  840. *
  841. * @return bool
  842. * @param filename string
  843. * @param group mixed
  844. */
  845. function chgrp($filename, $group) {}
  846. /**
  847. * Change file mode
  848. *
  849. * @return bool
  850. * @param filename string
  851. * @param mode int
  852. */
  853. function chmod($filename, $mode) {}
  854. /**
  855. * Removes trailing whitespace
  856. *
  857. * @return string
  858. * @param str string
  859. * @param character_mask string[optional]
  860. */
  861. function chop($str, $character_mask = null) {}
  862. /**
  863. * Change file owner
  864. *
  865. * @return bool
  866. * @param filename string
  867. * @param user mixed
  868. */
  869. function chown($filename, $user) {}
  870. /**
  871. * Converts ASCII code to a character
  872. *
  873. * @return string
  874. * @param ascii int
  875. */
  876. function chr($ascii) {}
  877. /**
  878. * Change root directory
  879. *
  880. * @return bool
  881. * @param directory string
  882. */
  883. function chroot($directory) {}
  884. /**
  885. * Returns split line
  886. *
  887. * @return string
  888. * @param str string
  889. * @param chunklen int[optional]
  890. * @param ending string[optional]
  891. */
  892. function chunk_split($str, $chunklen = null, $ending = null) {}
  893. /**
  894. * Checks if the class exists
  895. *
  896. * @return bool
  897. * @param classname string
  898. */
  899. function class_exists($classname) {}
  900. /**
  901. * Clear file stat cache
  902. *
  903. * @return void
  904. */
  905. function clearstatcache() {}
  906. /**
  907. * Close directory connection identified by the dir_handle
  908. *
  909. * @return void
  910. * @param dir_handle resource[optional]
  911. */
  912. function closedir($dir_handle = null) {}
  913. /**
  914. * Close connection to system logger
  915. *
  916. * @return bool
  917. */
  918. function closelog() {}
  919. /**
  920. * Increases the reference counter on a COM object
  921. *
  922. * @return mixed
  923. * @param module int
  924. */
  925. function com_addref($module) {}
  926. /**
  927. * Connect events from a COM object to a PHP object
  928. *
  929. * @return bool
  930. * @param comobject mixed
  931. * @param sinkobject object
  932. * @param sinkinterface mixed[optional]
  933. */
  934. function com_event_sink($comobject, $sinkobject, $sinkinterface = null) {}
  935. /**
  936. * Gets properties from a COM module
  937. *
  938. * @return mixed
  939. * @param module int
  940. * @param property_name string
  941. * @vararg ... mixed
  942. */
  943. function com_get($module, $property_name) {}
  944. /**
  945. * Invokes a COM module
  946. *
  947. * @return mixed
  948. * @param module int
  949. * @param handler_name string
  950. * @param arg mixed[optional]
  951. * @vararg ... mixed
  952. */
  953. function com_invoke($module, $handler_name, $arg = null) {}
  954. /**
  955. * Invokes a COM module
  956. *
  957. * @return mixed
  958. * @param module int
  959. * @param invokeflags int
  960. * @param handler_name string
  961. * @param arg mixed[optional]
  962. * @vararg ... mixed
  963. */
  964. function com_invoke_ex($module, $invokeflags, $handler_name, $arg = null) {}
  965. /**
  966. * Grabs an IEnumVariant
  967. *
  968. * @return bool
  969. * @param com_module object
  970. */
  971. function com_isenum($com_module) {}
  972. /**
  973. * Loads a COM module
  974. *
  975. * @return int
  976. * @param module_name string
  977. * @param remote_host string[optional]
  978. * @param codepage int[optional]
  979. * @param typelib string[optional]
  980. */
  981. function com_load($module_name, $remote_host = null, $codepage = null, $typelib = null) {}
  982. /**
  983. * Loads a Typelib
  984. *
  985. * @return bool
  986. * @param typelib_name string
  987. * @param case_insensitive int[optional]
  988. */
  989. function com_load_typelib($typelib_name, $case_insensitive = null) {}
  990. /**
  991. * Process COM messages, sleeping for up to timeoutms milliseconds
  992. *
  993. * @return bool
  994. * @param timeoutms int[optional]
  995. */
  996. function com_message_pump($timeoutms = null) {}
  997. /**
  998. * Print out a PHP class definition for a dispatchable interface
  999. *
  1000. * @return bool
  1001. * @param comobject_|_string_typelib mixed
  1002. * @param dispinterface string
  1003. * @param wantsink bool
  1004. */
  1005. function com_print_typeinfo($comobject_, $dispinterface, $wantsink) {}
  1006. /**
  1007. * Gets properties from a COM module
  1008. *
  1009. * @return mixed
  1010. * @param module int
  1011. * @param property_name string
  1012. * @vararg ... mixed
  1013. */
  1014. function com_propget($module, $property_name) {}
  1015. /**
  1016. * Puts the properties for a module
  1017. *
  1018. * @return bool
  1019. * @param module int
  1020. * @param property_name string
  1021. * @param value mixed
  1022. * @vararg ...
  1023. */
  1024. function com_propput($module, $property_name, $value) {}
  1025. /**
  1026. * Puts the properties for a module
  1027. *
  1028. * @return bool
  1029. * @param module int
  1030. * @param property_name string
  1031. * @param value mixed
  1032. * @vararg ...
  1033. */
  1034. function com_propset($module, $property_name, $value) {}
  1035. /**
  1036. * Releases a COM object
  1037. *
  1038. * @return mixed
  1039. * @param module int
  1040. */
  1041. function com_release($module) {}
  1042. /**
  1043. * Puts the properties for a module
  1044. *
  1045. * @return bool
  1046. * @param module int
  1047. * @param property_name string
  1048. * @param value mixed
  1049. * @vararg ...
  1050. */
  1051. function com_set($module, $property_name, $value) {}
  1052. /**
  1053. * Creates a hash containing variables and their values
  1054. *
  1055. * @return array
  1056. * @param var_names mixed
  1057. * @vararg ... mixed
  1058. */
  1059. function compact($var_names) {}
  1060. /**
  1061. * Return a string to confirm that the module is compiled in
  1062. *
  1063. * @return string
  1064. * @param arg string
  1065. */
  1066. function confirm_extname_compiled($arg) {}
  1067. /**
  1068. * Returns true if client disconnected
  1069. *
  1070. * @return int
  1071. */
  1072. function connection_aborted() {}
  1073. /**
  1074. * Returns the connection status bitfield
  1075. *
  1076. * @return int
  1077. */
  1078. function connection_status() {}
  1079. /**
  1080. * Given the name of a constant this function will return the constants associated value
  1081. *
  1082. * @return mixed
  1083. * @param const_name string
  1084. */
  1085. function constant($const_name) {}
  1086. /**
  1087. * Convert from one Cyrillic character set to another
  1088. *
  1089. * @return string
  1090. * @param str string
  1091. * @param from string
  1092. * @param to string
  1093. */
  1094. function convert_cyr_string($str, $from, $to) {}
  1095. /**
  1096. * Copy a file
  1097. *
  1098. * @return bool
  1099. * @param source_file string
  1100. * @param destination_file string
  1101. */
  1102. function copy($source_file, $destination_file) {}
  1103. /**
  1104. * Returns the cosine of the number in radians
  1105. *
  1106. * @return float
  1107. * @param number float
  1108. */
  1109. function cos($number) {}
  1110. /**
  1111. * Returns the hyperbolic cosine of the number, defined as (exp(number) + exp(-number))/2
  1112. *
  1113. * @return float
  1114. * @param number float
  1115. */
  1116. function cosh($number) {}
  1117. /**
  1118. * Count the number of elements in a variable (usually an array)
  1119. *
  1120. * @return int
  1121. * @param var mixed
  1122. * @param mode int[optional]
  1123. */
  1124. function count($var, $mode = null) {}
  1125. /**
  1126. * Returns info about what characters are used in input
  1127. *
  1128. * @return mixed
  1129. * @param input string
  1130. * @param mode int[optional]
  1131. */
  1132. function count_chars($input, $mode = null) {}
  1133. /**
  1134. * Sets annotation
  1135. *
  1136. * @return bool
  1137. * @param pdfdoc int
  1138. * @param xll float
  1139. * @param yll float
  1140. * @param xur float
  1141. * @param xur float
  1142. * @param title string
  1143. * @param text string
  1144. * @param mode int[optional]
  1145. */
  1146. function cpdf_add_annotation($pdfdoc, $xll, $yll, $xur, $xur, $title, $text, $mode = null) {}
  1147. /**
  1148. * Adds outline
  1149. *
  1150. * @return int
  1151. * @param pdfdoc int
  1152. * @param lastoutline int
  1153. * @param sublevel int
  1154. * @param open int
  1155. * @param pagenr int
  1156. * @param title string
  1157. */
  1158. function cpdf_add_outline($pdfdoc, $lastoutline, $sublevel, $open, $pagenr, $title) {}
  1159. /**
  1160. * Draws an arc
  1161. *
  1162. * @return bool
  1163. * @param pdfdoc int
  1164. * @param x float
  1165. * @param y float
  1166. * @param radius float
  1167. * @param start float
  1168. * @param end float
  1169. * @param mode int[optional]
  1170. */
  1171. function cpdf_arc($pdfdoc, $x, $y, $radius, $start, $end, $mode = null) {}
  1172. /**
  1173. * Starts text section
  1174. *
  1175. * @return bool
  1176. * @param pdfdoc int
  1177. */
  1178. function cpdf_begin_text($pdfdoc) {}
  1179. /**
  1180. * Draws a circle
  1181. *
  1182. * @return bool
  1183. * @param pdfdoc int
  1184. * @param x float
  1185. * @param y float
  1186. * @param radius float
  1187. * @param mode int[optional]
  1188. */
  1189. function cpdf_circle($pdfdoc, $x, $y, $radius, $mode = null) {}
  1190. /**
  1191. * Clips to current path
  1192. *
  1193. * @return bool
  1194. * @param pdfdoc int
  1195. */
  1196. function cpdf_clip($pdfdoc) {}
  1197. /**
  1198. * Closes the pdf document
  1199. *
  1200. * @return void
  1201. * @param pdfdoc int
  1202. */
  1203. function cpdf_close($pdfdoc) {}
  1204. /**
  1205. * Close path
  1206. *
  1207. * @return bool
  1208. * @param pdfdoc int
  1209. */
  1210. function cpdf_closepath($pdfdoc) {}
  1211. /**
  1212. * Close, fill and stroke current path
  1213. *
  1214. * @return bool
  1215. * @param pdfdoc int
  1216. */
  1217. function cpdf_closepath_fill_stroke($pdfdoc) {}
  1218. /**
  1219. * Close path and draw line along path
  1220. *
  1221. * @return bool
  1222. * @param pdfdoc int
  1223. */
  1224. function cpdf_closepath_stroke($pdfdoc) {}
  1225. /**
  1226. * Outputs text in next line
  1227. *
  1228. * @return bool
  1229. * @param pdfdoc int
  1230. * @param text string
  1231. */
  1232. function cpdf_continue_text($pdfdoc, $text) {}
  1233. /**
  1234. * Draws a curve
  1235. *
  1236. * @return bool
  1237. * @param pdfdoc int
  1238. * @param x1 float
  1239. * @param y1 float
  1240. * @param x2 float
  1241. * @param y2 float
  1242. * @param x3 float
  1243. * @param y3 float
  1244. * @param mode int[optional]
  1245. */
  1246. function cpdf_curveto($pdfdoc, $x1, $y1, $x2, $y2, $x3, $y3, $mode = null) {}
  1247. /**
  1248. * Ends text section
  1249. *
  1250. * @return bool
  1251. * @param pdfdoc int
  1252. */
  1253. function cpdf_end_text($pdfdoc) {}
  1254. /**
  1255. * Fills current path
  1256. *
  1257. * @return bool
  1258. * @param pdfdoc int
  1259. */
  1260. function cpdf_fill($pdfdoc) {}
  1261. /**
  1262. * Fills and stroke current path
  1263. *
  1264. * @return bool
  1265. * @param pdfdoc int
  1266. */
  1267. function cpdf_fill_stroke($pdfdoc) {}
  1268. /**
  1269. * Creates PDF doc in memory
  1270. *
  1271. * @return bool
  1272. * @param pdfdoc int
  1273. */
  1274. function cpdf_finalize($pdfdoc) {}
  1275. /**
  1276. * Ends the page to save memory
  1277. *
  1278. * @return bool
  1279. * @param pdfdoc int
  1280. * @param pagenr int
  1281. */
  1282. function cpdf_finalize_page($pdfdoc, $pagenr) {}
  1283. /**
  1284. * Sets document settings for all documents
  1285. *
  1286. * @return bool
  1287. * @param maxPages int
  1288. * @param maxFonts int
  1289. * @param maxImages int
  1290. * @param maxAnnots int
  1291. * @param maxObjects int
  1292. */
  1293. function cpdf_global_set_document_limits($maxPages, $maxFonts, $maxImages, $maxAnnots, $maxObjects) {}
  1294. /**
  1295. * Includes JPEG image
  1296. *
  1297. * @return bool
  1298. * @param pdfdoc int
  1299. * @param filename string
  1300. * @param x float
  1301. * @param y float
  1302. * @param angle float
  1303. * @param width float
  1304. * @param height float
  1305. * @param x_scale float
  1306. * @param y_scale float
  1307. * @param gsave int
  1308. * @param mode int[optional]
  1309. */
  1310. function cpdf_import_jpeg($pdfdoc, $filename, $x, $y, $angle, $width, $height, $x_scale, $y_scale, $gsave, $mode = null) {}
  1311. /**
  1312. * Draws a line
  1313. *
  1314. * @return bool
  1315. * @param pdfdoc int
  1316. * @param x float
  1317. * @param y float
  1318. * @param mode int[optional]
  1319. */
  1320. function cpdf_lineto($pdfdoc, $x, $y, $mode = null) {}
  1321. /**
  1322. * Sets current point
  1323. *
  1324. * @return bool
  1325. * @param pdfdoc int
  1326. * @param x float
  1327. * @param y float
  1328. * @param mode int[optional]
  1329. */
  1330. function cpdf_moveto($pdfdoc, $x, $y, $mode = null) {}
  1331. /**
  1332. * Starts new path
  1333. *
  1334. * @return bool
  1335. * @param pdfdoc int
  1336. */
  1337. function cpdf_newpath($pdfdoc) {}
  1338. /**
  1339. * Opens a new pdf document
  1340. *
  1341. * @return int
  1342. * @param compression int
  1343. * @param filename string[optional]
  1344. * @param doc_limits array[optional]
  1345. */
  1346. function cpdf_open($compression, $filename = null, $doc_limits = null) {}
  1347. /**
  1348. * Returns the internal memory stream as string
  1349. *
  1350. * @return bool
  1351. * @param pdfdoc int
  1352. */
  1353. function cpdf_output_buffer($pdfdoc) {}
  1354. /**
  1355. * Starts page
  1356. *
  1357. * @return bool
  1358. * @param pdfdoc int
  1359. * @param pagenr int
  1360. * @param orientation int
  1361. * @param height int
  1362. * @param width int
  1363. * @param unit float[optional]
  1364. */
  1365. function cpdf_page_init($pdfdoc, $pagenr, $orientation, $height, $width, $unit = null) {}
  1366. /**
  1367. * Includes image
  1368. *
  1369. * @return bool
  1370. * @param pdfdoc int
  1371. * @param gdimage int
  1372. * @param x float
  1373. * @param y float
  1374. * @param angle float
  1375. * @param width fload
  1376. * @param height float
  1377. * @param gsave int
  1378. * @param mode int[optional]
  1379. */
  1380. function cpdf_place_inline_image($pdfdoc, $gdimage, $x, $y, $angle, $width, $height, $gsave, $mode = null) {}
  1381. /**
  1382. * Draws a rectangle
  1383. *
  1384. * @return bool
  1385. * @param pdfdoc int
  1386. * @param x float
  1387. * @param y float
  1388. * @param width float
  1389. * @param height float
  1390. * @param mode int[optional]
  1391. */
  1392. function cpdf_rect($pdfdoc, $x, $y, $width, $height, $mode = null) {}
  1393. /**
  1394. * Restores formerly saved enviroment
  1395. *
  1396. * @return bool
  1397. * @param pdfdoc int
  1398. */
  1399. function cpdf_restore($pdfdoc) {}
  1400. /**
  1401. * Draws a line relative to current point
  1402. *
  1403. * @return bool
  1404. * @param pdfdoc int
  1405. * @param x float
  1406. * @param y float
  1407. * @param mode int[optional]
  1408. */
  1409. function cpdf_rlineto($pdfdoc, $x, $y, $mode = null) {}
  1410. /**
  1411. * Sets current point
  1412. *
  1413. * @return bool
  1414. * @param pdfdoc int
  1415. * @param x float
  1416. * @param y float
  1417. * @param mode int[optional]
  1418. */
  1419. function cpdf_rmoveto($pdfdoc, $x, $y, $mode = null) {}
  1420. /**
  1421. * Sets rotation
  1422. *
  1423. * @return bool
  1424. * @param pdfdoc int
  1425. * @param angle float
  1426. */
  1427. function cpdf_rotate($pdfdoc, $angle) {}
  1428. /**
  1429. * Sets text rotation angle
  1430. *
  1431. * @return bool
  1432. * @param pdfdoc int
  1433. * @param angle float
  1434. */
  1435. function cpdf_rotate_text($pdfdoc, $angle) {}
  1436. /**
  1437. * Saves current enviroment
  1438. *
  1439. * @return bool
  1440. * @param pdfdoc int
  1441. */
  1442. function cpdf_save($pdfdoc) {}
  1443. /**
  1444. * Saves the internal memory stream to a file
  1445. *
  1446. * @return bool
  1447. * @param pdfdoc int
  1448. * @param filename string
  1449. */
  1450. function cpdf_save_to_file($pdfdoc, $filename) {}
  1451. /**
  1452. * Sets scaling
  1453. *
  1454. * @return bool
  1455. * @param pdfdoc int
  1456. * @param x_scale float
  1457. * @param y_scale float
  1458. */
  1459. function cpdf_scale($pdfdoc, $x_scale, $y_scale) {}
  1460. /**
  1461. * Sets hyperlink
  1462. *
  1463. * @return void
  1464. * @param pdfdoc int
  1465. * @param xll float
  1466. * @param yll float
  1467. * @param xur float
  1468. * @param xur float
  1469. * @param url string
  1470. * @param mode int[optional]
  1471. */
  1472. function cpdf_set_action_url($pdfdoc, $xll, $yll, $xur, $xur, $url, $mode = null) {}
  1473. /**
  1474. * Sets character spacing
  1475. *
  1476. * @return bool
  1477. * @param pdfdoc int
  1478. * @param space float
  1479. */
  1480. function cpdf_set_char_spacing($pdfdoc, $space) {}
  1481. /**
  1482. * Sets the creator field
  1483. *
  1484. * @return bool
  1485. * @param pdfdoc int
  1486. * @param creator string
  1487. */
  1488. function cpdf_set_creator($pdfdoc, $creator) {}
  1489. /**
  1490. * Sets page for output
  1491. *
  1492. * @return bool
  1493. * @param pdfdoc int
  1494. * @param pagenr int
  1495. */
  1496. function cpdf_set_current_page($pdfdoc, $pagenr) {}
  1497. /**
  1498. * Selects the current font face, size and encoding
  1499. *
  1500. * @return bool
  1501. * @param pdfdoc int
  1502. * @param font string
  1503. * @param size float
  1504. * @param encoding string
  1505. */
  1506. function cpdf_set_font($pdfdoc, $font, $size, $encoding) {}
  1507. /**
  1508. * Sets directories to search when using external fonts
  1509. *
  1510. * @return bool
  1511. * @param pdfdoc int
  1512. * @param pfmdir string
  1513. * @param pfbdir string
  1514. */
  1515. function cpdf_set_font_directories($pdfdoc, $pfmdir, $pfbdir) {}
  1516. /**
  1517. * Sets fontname to filename translation map when using external fonts
  1518. *
  1519. * @return bool
  1520. * @param pdfdoc int
  1521. * @param filename string
  1522. */
  1523. function cpdf_set_font_map_file($pdfdoc, $filename) {}
  1524. /**
  1525. * Sets horizontal scaling of text
  1526. *
  1527. * @return bool
  1528. * @param pdfdoc int
  1529. * @param scale float
  1530. */
  1531. function cpdf_set_horiz_scaling($pdfdoc, $scale) {}
  1532. /**
  1533. * Fills the keywords field of the info structure
  1534. *
  1535. * @return bool
  1536. * @param pdfptr int
  1537. * @param keywords string
  1538. */
  1539. function cpdf_set_keywords($pdfptr, $keywords) {}
  1540. /**
  1541. * Sets distance between text lines
  1542. *
  1543. * @return bool
  1544. * @param pdfdoc int
  1545. * @param distance float
  1546. */
  1547. function cpdf_set_leading($pdfdoc, $distance) {}
  1548. /**
  1549. * Sets transition between pages
  1550. *
  1551. * @return bool
  1552. * @param pdfdoc int
  1553. * @param transition int
  1554. * @param duration float
  1555. * @param direction float
  1556. * @param orientation int
  1557. * @param inout int
  1558. */
  1559. function cpdf_set_page_animation($pdfdoc, $transition, $duration, $direction, $orientation, $inout) {}
  1560. /**
  1561. * Fills the subject field of the info structure
  1562. *
  1563. * @return bool
  1564. * @param pdfptr int
  1565. * @param subject string
  1566. */
  1567. function cpdf_set_subject($pdfptr, $subject) {}
  1568. /**
  1569. * Sets the text matrix
  1570. *
  1571. * @return bool
  1572. * @param pdfdoc int
  1573. * @param matrix arry
  1574. */
  1575. function cpdf_set_text_matrix($pdfdoc, $matrix) {}
  1576. /**
  1577. * Sets the position of text for the next cpdf_show call
  1578. *
  1579. * @return bool
  1580. * @param pdfdoc int
  1581. * @param x float
  1582. * @param y float
  1583. * @param mode int[optional]
  1584. */
  1585. function cpdf_set_text_pos($pdfdoc, $x, $y, $mode = null) {}
  1586. /**
  1587. * Determines how text is rendered
  1588. *
  1589. * @return bool
  1590. * @param pdfdoc int
  1591. * @param rendermode int
  1592. */
  1593. function cpdf_set_text_rendering($pdfdoc, $rendermode) {}
  1594. /**
  1595. * Sets the text rise
  1596. *
  1597. * @return bool
  1598. * @param pdfdoc int
  1599. * @param value float
  1600. */
  1601. function cpdf_set_text_rise($pdfdoc, $value) {}
  1602. /**
  1603. * Fills the title field of the info structure
  1604. *
  1605. * @return bool
  1606. * @param pdfptr int
  1607. * @param title string
  1608. */
  1609. function cpdf_set_title($pdfptr, $title) {}
  1610. /**
  1611. * How to show the document in the viewer
  1612. *
  1613. * @return bool
  1614. * @param pdfdoc int
  1615. * @param preferences array
  1616. */
  1617. function cpdf_set_viewer_preferences($pdfdoc, $preferences) {}
  1618. /**
  1619. * Sets spacing between words
  1620. *
  1621. * @return bool
  1622. * @param pdfdoc int
  1623. * @param space float
  1624. */
  1625. function cpdf_set_word_spacing($pdfdoc, $space) {}
  1626. /**
  1627. * Sets dash pattern
  1628. *
  1629. * @return bool
  1630. * @param pdfdoc int
  1631. * @param white long
  1632. * @param black long
  1633. */
  1634. function cpdf_setdash($pdfdoc, $white, $black) {}
  1635. /**
  1636. * Sets flatness
  1637. *
  1638. * @return bool
  1639. * @param pdfdoc int
  1640. * @param value float
  1641. */
  1642. function cpdf_setflat($pdfdoc, $value) {}
  1643. /**
  1644. * Sets drawing and filling color to gray value
  1645. *
  1646. * @return bool
  1647. * @param pdfdoc int
  1648. * @param value float
  1649. */
  1650. function cpdf_setgray($pdfdoc, $value) {}
  1651. /**
  1652. * Sets filling color to gray value
  1653. *
  1654. * @return bool
  1655. * @param pdfdoc int
  1656. * @param value float
  1657. */
  1658. function cpdf_setgray_fill($pdfdoc, $value) {}
  1659. /**
  1660. * Sets drawing color to gray value
  1661. *
  1662. * @return bool
  1663. * @param pdfdoc int
  1664. * @param value float
  1665. */
  1666. function cpdf_setgray_stroke($pdfdoc, $value) {}
  1667. /**
  1668. * Sets linecap parameter
  1669. *
  1670. * @return bool
  1671. * @param pdfdoc int
  1672. * @param value int
  1673. */
  1674. function cpdf_setlinecap($pdfdoc, $value) {}
  1675. /**
  1676. * Sets linejoin parameter
  1677. *
  1678. * @return bool
  1679. * @param pdfdoc int
  1680. * @param value int
  1681. */
  1682. function cpdf_setlinejoin($pdfdoc, $value) {}
  1683. /**
  1684. * Sets line width
  1685. *
  1686. * @return bool
  1687. * @param pdfdoc int
  1688. * @param width float
  1689. */
  1690. function cpdf_setlinewidth($pdfdoc, $width) {}
  1691. /**
  1692. * Sets miter limit
  1693. *
  1694. * @return bool
  1695. * @param pdfdoc int
  1696. * @param value float
  1697. */
  1698. function cpdf_setmiterlimit($pdfdoc, $value) {}
  1699. /**
  1700. * Sets drawing and filling color to RGB color value
  1701. *
  1702. * @return bool
  1703. * @param pdfdoc int
  1704. * @param red float
  1705. * @param green float
  1706. * @param blue float
  1707. */
  1708. function cpdf_setrgbcolor($pdfdoc, $red, $green, $blue) {}
  1709. /**
  1710. * Sets filling color to rgb color value
  1711. *
  1712. * @return bool
  1713. * @param pdfdoc int
  1714. * @param red float
  1715. * @param green float
  1716. * @param blue float
  1717. */
  1718. function cpdf_setrgbcolor_fill($pdfdoc, $red, $green, $blue) {}
  1719. /**
  1720. * Sets drawing color to RGB color value
  1721. *
  1722. * @return bool
  1723. * @param pdfdoc int
  1724. * @param red float
  1725. * @param green float
  1726. * @param blue float
  1727. */
  1728. function cpdf_setrgbcolor_stroke($pdfdoc, $red, $green, $blue) {}
  1729. /**
  1730. * Output text at current position
  1731. *
  1732. * @return bool
  1733. * @param pdfdoc int
  1734. * @param text string
  1735. */
  1736. function cpdf_show($pdfdoc, $text) {}
  1737. /**
  1738. * Output text at position
  1739. *
  1740. * @return bool
  1741. * @param pdfdoc int
  1742. * @param text string
  1743. * @param x_koor float
  1744. * @param y_koor float
  1745. * @param mode int[optional]
  1746. */
  1747. function cpdf_show_xy($pdfdoc, $text, $x_koor, $y_koor, $mode = null) {}
  1748. /**
  1749. * Returns width of text in current font
  1750. *
  1751. * @return float
  1752. * @param pdfdoc int
  1753. * @param text string
  1754. */
  1755. function cpdf_stringwidth($pdfdoc, $text) {}
  1756. /**
  1757. * Draws line along path path
  1758. *
  1759. * @return bool
  1760. * @param pdfdoc int
  1761. */
  1762. function cpdf_stroke($pdfdoc) {}
  1763. /**
  1764. * Outputs text
  1765. *
  1766. * @return bool
  1767. * @param pdfdoc int
  1768. * @param text string
  1769. * @param x_koor float[optional]
  1770. * @param y_koor float
  1771. * @param mode int[optional]
  1772. * @param orientation float[optional]
  1773. * @param alignmode int[optional]
  1774. */
  1775. function cpdf_text($pdfdoc, $text, $x_koor = null, $y_koor, $mode = null, $orientation = null, $alignmode = null) {}
  1776. /**
  1777. * Sets origin of coordinate system
  1778. *
  1779. * @return bool
  1780. * @param pdfdoc int
  1781. * @param x float
  1782. * @param y float
  1783. */
  1784. function cpdf_translate($pdfdoc, $x, $y) {}
  1785. /**
  1786. * Performs an obscure check with the given password
  1787. *
  1788. * @return bool
  1789. * @param dictionary resource[optional]
  1790. * @param password string
  1791. */
  1792. function crack_check($dictionary = null, $password) {}
  1793. /**
  1794. * Closes an open cracklib dictionary
  1795. *
  1796. * @return bool
  1797. * @param dictionary resource[optional]
  1798. */
  1799. function crack_closedict($dictionary = null) {}
  1800. /**
  1801. * Returns the message from the last obscure check
  1802. *
  1803. * @return string
  1804. */
  1805. function crack_getlastmessage() {}
  1806. /**
  1807. * Opens a new cracklib dictionary
  1808. *
  1809. * @return resource
  1810. * @param dictionary string
  1811. */
  1812. function crack_opendict($dictionary) {}
  1813. /**
  1814. * Calculate the crc32 polynomial of a string
  1815. *
  1816. * @return string
  1817. * @param str string
  1818. */
  1819. function crc32($str) {}
  1820. /**
  1821. * Creates an anonymous function, and returns its name (funny, eh?)
  1822. *
  1823. * @return string
  1824. * @param args string
  1825. * @param code string
  1826. */
  1827. function create_function($args, $code) {}
  1828. /**
  1829. * Encrypt a string
  1830. *
  1831. * @return string
  1832. * @param str string
  1833. * @param salt string[optional]
  1834. */
  1835. function crypt($str, $salt = null) {}
  1836. /**
  1837. * Checks for alphanumeric character(s)
  1838. *
  1839. * @return bool
  1840. * @param c mixed
  1841. */
  1842. function ctype_alnum($c) {}
  1843. /**
  1844. * Checks for alphabetic character(s)
  1845. *
  1846. * @return bool
  1847. * @param c mixed
  1848. */
  1849. function ctype_alpha($c) {}
  1850. /**
  1851. * Checks for control character(s)
  1852. *
  1853. * @return bool
  1854. * @param c mixed
  1855. */
  1856. function ctype_cntrl($c) {}
  1857. /**
  1858. * Checks for numeric character(s)
  1859. *
  1860. * @return bool
  1861. * @param c mixed
  1862. */
  1863. function ctype_digit($c) {}
  1864. /**
  1865. * Checks for any printable character(s) except space
  1866. *
  1867. * @return bool
  1868. * @param c mixed
  1869. */
  1870. function ctype_graph($c) {}
  1871. /**
  1872. * Checks for lowercase character(s)
  1873. *
  1874. * @return bool
  1875. * @param c mixed
  1876. */
  1877. function ctype_lower($c) {}
  1878. /**
  1879. * Checks for printable character(s)
  1880. *
  1881. * @return bool
  1882. * @param c mixed
  1883. */
  1884. function ctype_print($c) {}
  1885. /**
  1886. * Checks for any printable character which is not whitespace or an alphanumeric character
  1887. *
  1888. * @return bool
  1889. * @param c mixed
  1890. */
  1891. function ctype_punct($c) {}
  1892. /**
  1893. * Checks for whitespace character(s)
  1894. *
  1895. * @return bool
  1896. * @param c mixed
  1897. */
  1898. function ctype_space($c) {}
  1899. /**
  1900. * Checks for uppercase character(s)
  1901. *
  1902. * @return bool
  1903. * @param c mixed
  1904. */
  1905. function ctype_upper($c) {}
  1906. /**
  1907. * Checks for character(s) representing a hexadecimal digit
  1908. *
  1909. * @return bool
  1910. * @param c mixed
  1911. */
  1912. function ctype_xdigit($c) {}
  1913. /**
  1914. * Close a CURL session
  1915. *
  1916. * @return void
  1917. * @param ch resource
  1918. */
  1919. function curl_close($ch) {}
  1920. /**
  1921. * Return an integer containing the last error number
  1922. *
  1923. * @return int
  1924. * @param ch resource
  1925. */
  1926. function curl_errno($ch) {}
  1927. /**
  1928. * Return a string contain the last error for the current session
  1929. *
  1930. * @return string
  1931. * @param ch resource
  1932. */
  1933. function curl_error($ch) {}
  1934. /**
  1935. * Perform a CURL session
  1936. *
  1937. * @return bool
  1938. * @param ch resource
  1939. */
  1940. function curl_exec($ch) {}
  1941. /**
  1942. * Get information regarding a specific transfer
  1943. *
  1944. * @return mixed
  1945. * @param ch resource
  1946. * @param opt int
  1947. */
  1948. function curl_getinfo($ch, $opt) {}
  1949. /**
  1950. * Initialize a CURL session
  1951. *
  1952. * @return resource
  1953. * @param url string[optional]
  1954. */
  1955. function curl_init($url = null) {}
  1956. /**
  1957. * Set an option for a CURL transfer
  1958. *
  1959. * @return bool
  1960. * @param ch resource
  1961. * @param option string
  1962. * @param value mixed
  1963. */
  1964. function curl_setopt($ch, $option, $value) {}
  1965. /**
  1966. * Return cURL version information.
  1967. *
  1968. * @return string
  1969. */
  1970. function curl_version() {}
  1971. /**
  1972. * Return the element currently pointed to by the internal array pointer
  1973. *
  1974. * @return mixed
  1975. * @param array_arg array
  1976. */
  1977. function current($array_arg) {}
  1978. /**
  1979. * Authenticate agaings a Cyrus IMAP server
  1980. *
  1981. * @return void
  1982. * @param connection resource
  1983. * @param mechlist string[optional]
  1984. * @param service string[optional]
  1985. * @param user string[optional]
  1986. * @param minssf int[optional]
  1987. * @param maxssf int[optional]
  1988. */
  1989. function cyrus_authenticate($connection, $mechlist = null, $service = null, $user = null, $minssf = null, $maxssf = null) {}
  1990. /**
  1991. * Bind callbacks to a Cyrus IMAP connection
  1992. *
  1993. * @return bool
  1994. * @param connection resource
  1995. * @param callbacks array
  1996. */
  1997. function cyrus_bind($connection, $callbacks) {}
  1998. /**
  1999. * Close connection to a cyrus server
  2000. *
  2001. * @return bool
  2002. * @param connection resource
  2003. */
  2004. function cyrus_close($connection) {}
  2005. /**
  2006. * Connect to a Cyrus IMAP server
  2007. *
  2008. * @return resource
  2009. * @param host string[optional]
  2010. * @param port string[optional]
  2011. * @param flags int[optional]
  2012. */
  2013. function cyrus_connect($host = null, $port = null, $flags = null) {}
  2014. /**
  2015. * Send a query to a Cyrus IMAP server
  2016. *
  2017. * @return bool
  2018. * @param connection resource
  2019. * @param query string
  2020. */
  2021. function cyrus_query($connection, $query) {}
  2022. /**
  2023. * Unbind ...
  2024. *
  2025. * @return bool
  2026. * @param connection resource
  2027. * @param trigger_name string
  2028. */
  2029. function cyrus_unbind($connection, $trigger_name) {}
  2030. /**
  2031. * Format a local time/date
  2032. *
  2033. * @return string
  2034. * @param format string
  2035. * @param timestamp int[optional]
  2036. */
  2037. function date($format, $timestamp = null) {}
  2038. /**
  2039. * Closes database
  2040. *
  2041. * @return void
  2042. * @param handle resource
  2043. */
  2044. function dba_close($handle) {}
  2045. /**
  2046. *
  2047. *
  2048. * @return bool
  2049. * @param key string
  2050. * @param handle int
  2051. */
  2052. function dba_delete($key, $handle) {}
  2053. /**
  2054. * Checks, if the specified key exists
  2055. *
  2056. * @return bool
  2057. * @param key string
  2058. * @param handle int
  2059. */
  2060. function dba_exists($key, $handle) {}
  2061. /**
  2062. * Fetches the data associated with key
  2063. *
  2064. * @return string
  2065. * @param key string
  2066. * @param skip int[optional]
  2067. * @param handle int
  2068. */
  2069. function dba_fetch($key, $skip = null, $handle) {}
  2070. /**
  2071. * Resets the internal key pointer and returns the first key
  2072. *
  2073. * @return string
  2074. * @param handle int
  2075. */
  2076. function dba_firstkey($handle) {}
  2077. /**
  2078. * List configured database handlers
  2079. *
  2080. * @return array
  2081. * @param full_info bool[optional]
  2082. */
  2083. function dba_handlers($full_info = null) {}
  2084. /**
  2085. *
  2086. *
  2087. * @return bool
  2088. * @param key string
  2089. * @param value string
  2090. * @param handle int
  2091. */
  2092. function dba_insert($key, $value, $handle) {}
  2093. /**
  2094. * List opened databases
  2095. *
  2096. * @return array
  2097. */
  2098. function dba_list() {}
  2099. /**
  2100. * Returns the next key
  2101. *
  2102. * @return string
  2103. * @param handle int
  2104. */
  2105. function dba_nextkey($handle) {}
  2106. /**
  2107. * Opens path using the specified handler in mode
  2108. *
  2109. * @return resource
  2110. * @param path string
  2111. * @param mode string
  2112. * @param handlername string[optional]
  2113. * @vararg ... string
  2114. */
  2115. function dba_open($path, $mode, $handlername = null) {}
  2116. /**
  2117. * Optimizes (e.g. clean up, vacuum) database
  2118. *
  2119. * @return bool
  2120. * @param handle int
  2121. */
  2122. function dba_optimize($handle) {}
  2123. /**
  2124. * Opens path using the specified handler in mode persistently
  2125. *
  2126. * @return resource
  2127. * @param path string
  2128. * @param mode string
  2129. * @param handlername string[optional]
  2130. * @vararg ... string
  2131. */
  2132. function dba_popen($path, $mode, $handlername = null) {}
  2133. /**
  2134. *
  2135. *
  2136. * @return bool
  2137. * @param key string
  2138. * @param value string
  2139. * @param handle int
  2140. */
  2141. function dba_replace($key, $value, $handle) {}
  2142. /**
  2143. * Synchronizes database
  2144. *
  2145. * @return bool
  2146. * @param handle int
  2147. */
  2148. function dba_sync($handle) {}
  2149. /**
  2150. * Adds a record to the database
  2151. *
  2152. * @return bool
  2153. * @param identifier int
  2154. * @param data array
  2155. */
  2156. function dbase_add_record($identifier, $data) {}
  2157. /**
  2158. * Closes an open dBase-format database file
  2159. *
  2160. * @return bool
  2161. * @param identifier int
  2162. */
  2163. function dbase_close($identifier) {}
  2164. /**
  2165. * Creates a new dBase-format database file
  2166. *
  2167. * @return bool
  2168. * @param filename string
  2169. * @param fields array
  2170. */
  2171. function dbase_create($filename, $fields) {}
  2172. /**
  2173. * Marks a record to be deleted
  2174. *
  2175. * @return bool
  2176. * @param identifier int
  2177. * @param record int
  2178. */
  2179. function dbase_delete_record($identifier, $record) {}
  2180. /**
  2181. * Returns an array representing a record from the database
  2182. *
  2183. * @return array
  2184. * @param identifier int
  2185. * @param record int
  2186. */
  2187. function dbase_get_record($identifier, $record) {}
  2188. /**
  2189. * Returns an associative array representing a record from the database
  2190. *
  2191. * @return array
  2192. * @param identifier int
  2193. * @param record int
  2194. */
  2195. function dbase_get_record_with_names($identifier, $record) {}
  2196. /**
  2197. * Returns the number of fields (columns) in the database
  2198. *
  2199. * @return int
  2200. * @param identifier int
  2201. */
  2202. function dbase_numfields($identifier) {}
  2203. /**
  2204. * Returns the number of records in the database
  2205. *
  2206. * @return int
  2207. * @param identifier int
  2208. */
  2209. function dbase_numrecords($identifier) {}
  2210. /**
  2211. * Opens a dBase-format database file
  2212. *
  2213. * @return int
  2214. * @param name string
  2215. * @param mode int
  2216. */
  2217. function dbase_open($name, $mode) {}
  2218. /**
  2219. * Packs the database (deletes records marked for deletion)
  2220. *
  2221. * @return bool
  2222. * @param identifier int
  2223. */
  2224. function dbase_pack($identifier) {}
  2225. /**
  2226. * Replaces a record to the database
  2227. *
  2228. * @return bool
  2229. * @param identifier int
  2230. * @param data array
  2231. * @param recnum int
  2232. */
  2233. function dbase_replace_record($identifier, $data, $recnum) {}
  2234. /**
  2235. * Describes the dbm-compatible library being used
  2236. *
  2237. * @return string
  2238. */
  2239. function dblist() {}
  2240. /**
  2241. * Closes a dbm database
  2242. *
  2243. * @return bool
  2244. * @param dbm_identifier int
  2245. */
  2246. function dbmclose($dbm_identifier) {}
  2247. /**
  2248. * Deletes the value for a key from a dbm database
  2249. *
  2250. * @return int
  2251. * @param dbm_identifier int
  2252. * @param key string
  2253. */
  2254. function dbmdelete($dbm_identifier, $key) {}
  2255. /**
  2256. * Tells if a value exists for a key in a dbm database
  2257. *
  2258. * @return int
  2259. * @param dbm_identifier int
  2260. * @param key string
  2261. */
  2262. function dbmexists($dbm_identifier, $key) {}
  2263. /**
  2264. * Fetches a value for a key from a dbm database
  2265. *
  2266. * @return string
  2267. * @param dbm_identifier int
  2268. * @param key string
  2269. */
  2270. function dbmfetch($dbm_identifier, $key) {}
  2271. /**
  2272. * Retrieves the first key from a dbm database
  2273. *
  2274. * @return string
  2275. * @param dbm_identifier int
  2276. */
  2277. function dbmfirstkey($dbm_identifier) {}
  2278. /**
  2279. * Inserts a value for a key in a dbm database
  2280. *
  2281. * @return int
  2282. * @param dbm_identifier int
  2283. * @param key string
  2284. * @param value string
  2285. */
  2286. function dbminsert($dbm_identifier, $key, $value) {}
  2287. /**
  2288. * Retrieves the next key from a dbm database
  2289. *
  2290. * @return string
  2291. * @param dbm_identifier int
  2292. * @param key string
  2293. */
  2294. function dbmnextkey($dbm_identifier, $key) {}
  2295. /**
  2296. * Opens a dbm database
  2297. *
  2298. * @return int
  2299. * @param filename string
  2300. * @param mode string
  2301. */
  2302. function dbmopen($filename, $mode) {}
  2303. /**
  2304. * Replaces the value for a key in a dbm database
  2305. *
  2306. * @return int
  2307. * @param dbm_identifier int
  2308. * @param key string
  2309. * @param value string
  2310. */
  2311. function dbmreplace($dbm_identifier, $key, $value) {}
  2312. /**
  2313. *
  2314. *
  2315. * @return bool
  2316. * @param dbx_link dbx_link_object
  2317. */
  2318. function dbx_close($dbx_link) {}
  2319. /**
  2320. * Returns row_y[columnname] - row_x[columnname], converted to -1, 0 or 1
  2321. *
  2322. * @return int
  2323. * @param row_x array
  2324. * @param row_y array
  2325. * @param columnname string
  2326. * @param flags int[optional]
  2327. */
  2328. function dbx_compare($row_x, $row_y, $columnname, $flags = null) {}
  2329. /**
  2330. * Returns a dbx_link_object on success and returns 0 on failure
  2331. *
  2332. * @return dbx_link_object
  2333. * @param module_name string
  2334. * @param host string
  2335. * @param db string
  2336. * @param username string
  2337. * @param password string
  2338. * @param persistent bool[optional]
  2339. */
  2340. function dbx_connect($module_name, $host, $db, $username, $passw

Large files files are truncated, but you can click here to view the full file