yp_order

(PHP3 >= 3.0.7, PHP4 )

yp_order -- Returns the order number for a map

Description

int yp_order (string domain, string map)

Yp_order() returns the order number for a map or FALSE.

Példa 1. Example for the NIS order

  1 
  2 <?php
  3     $number = yp_order($domain,$mapname);
  4     echo "Order number for this map is: " . $order;
  5 ?>
  6       

See also yp-get-default-domain().