BEE_convert()
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    > BEE Commands
    > Database Operation
    > Content Management
    > Objects and Classes
    v Interface with others
       o BEE and HTML
       o BEE and JavaScript
       v BEE and PHP
          o BEE_get()
          o BEE_var()
          o BEE_isset()
          o BEE_set()
          o BEE_clear()
          o BEE_convert()
          o BEE_do()
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> Interface with others >> BEE and PHP >> BEE_convert() <=  =>      <  1  >  
BEE_convert($value, $conversion) Convert using a BEE Conversion

Return the result of the PHP expression or variable after the BEE Conversion specified in conversion.  If the argument value is a PHP variable reference, changes by the BEE Conversion (if the BEE Conversion accept pass by reference) will be effective on the PHP variable.  For example:

<?php

$a = 1;

$b = BEE_convert($a, "inc");

printf("a=%d b=%d ", $a, $b);  // a=1 b=2

$x = 1;

$y = BEE_convert(&$x, "inc");

printf("x=%d y=%d ", $x, $y);  // x=2 y=2

?>

 

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd