Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/xnpal.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.14 by aga, Wed Dec 1 07:42:04 2004 UTC revision 1.15 by youi, Fri Dec 3 07:20:40 2004 UTC
# Line 364  public: Line 364  public:
364                  if ( hashGetLong  ( ht, "user_viewemail"    , &l ) ) setUserViewemail    ( l );                  if ( hashGetLong  ( ht, "user_viewemail"    , &l ) ) setUserViewemail    ( l );
365                  if ( hashGetLong  ( ht, "activate"          , &l ) ) setActivate         ( l );                  if ( hashGetLong  ( ht, "activate"          , &l ) ) setActivate         ( l );
366                  if ( hashGetString( ht, "address"           , &p ) ) setAddress          ( p );                  if ( hashGetString( ht, "address"           , &p ) ) setAddress          ( p );
367                  if ( hashGetString( ht, "institute"         , &p ) ) setInstitute        ( p );                  if ( hashGetString( ht, "division"         , &p ) ) setDivision        ( p );
368                  if ( hashGetString( ht, "tel"               , &p ) ) setTel              ( p );                  if ( hashGetString( ht, "tel"               , &p ) ) setTel              ( p );
369                  if ( hashGetString( ht, "organization"      , &p ) ) setOrganization     ( p );                  if ( hashGetString( ht, "company_name"      , &p ) ) setCompanyName     ( p );
370                  if ( hashGetString( ht, "country"           , &p ) ) setCountry          ( p );                  if ( hashGetString( ht, "country"           , &p ) ) setCountry          ( p );
371                  if ( hashGetString( ht, "zipcode"           , &p ) ) setZipcode          ( p );                  if ( hashGetString( ht, "zipcode"           , &p ) ) setZipcode          ( p );
372                  if ( hashGetString( ht, "fax"               , &p ) ) setFax              ( p );                  if ( hashGetString( ht, "fax"               , &p ) ) setFax              ( p );
# Line 523  result_t accountToZval( const account_t Line 523  result_t accountToZval( const account_t
523            
524      add_assoc_long( z, "activate", pAccount -> getActivate( ) );      add_assoc_long( z, "activate", pAccount -> getActivate( ) );
525      add_assoc_string( z, "address", ( char* )pAccount -> getAddress( ), 1 );      add_assoc_string( z, "address", ( char* )pAccount -> getAddress( ), 1 );
526      add_assoc_string( z, "institute", ( char* )pAccount -> getInstitute( ), 1 );      add_assoc_string( z, "division", ( char* )pAccount -> getDivision( ), 1 );
527      add_assoc_string( z, "tel", ( char* )pAccount -> getTel( ), 1 );      add_assoc_string( z, "tel", ( char* )pAccount -> getTel( ), 1 );
528      add_assoc_string( z, "organization", ( char* )pAccount -> getOrganization( ), 1 );      add_assoc_string( z, "company_name", ( char* )pAccount -> getCompanyName( ), 1 );
529      add_assoc_string( z, "country", ( char* )pAccount -> getCountry( ), 1 );      add_assoc_string( z, "country", ( char* )pAccount -> getCountry( ), 1 );
530      add_assoc_string( z, "zipcode", ( char* )pAccount -> getZipcode( ), 1 );      add_assoc_string( z, "zipcode", ( char* )pAccount -> getZipcode( ), 1 );
531      add_assoc_string( z, "fax", ( char* )pAccount -> getFax( ), 1 );      add_assoc_string( z, "fax", ( char* )pAccount -> getFax( ), 1 );
# Line 541  result_t accountToZval( const account_t Line 541  result_t accountToZval( const account_t
541        array(        array(
542          'uid'=>100,          'uid'=>100,
543          'activate'=>1,          'activate'=>1,
544          'institute'=>'foo',          'division'=>'foo',
545          'tel'=>'123-456-789',          'tel'=>'123-456-789',
546          ...          ...
547        ),        ),

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26