Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnadminapi.php

Procedural File: pnadminapi.php

Source Location: /Profile/pnadminapi.php

Classes:



Page Details:

Zikula Application Framework



Tags:

author:  Mark West
version:  $Id: pnadminapi.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








Profile_adminapi_activate [line 206]

bool Profile_adminapi_activate( $args, int $args['dudid'], int $args['weight'])

Activate a dynamic user data item



Tags:

return:  true on success, false on failure
author:  Mark West
todo:  remove weight; can be got from get API


Parameters

int   $args['dudid']   the id of the item to be updated
int   $args['weight']   the current weight of the item to be updated
   $args  
[ Top ]



Profile_adminapi_create [line 23]

mixed Profile_adminapi_create( $args, string $args['label'], string $args['dtype'], int $args['length'], string $args['validation'])

create a new dynamic user data item



Tags:

return:  dud item ID on success, false on failure
author:  Mark West


Parameters

string   $args['label']   the name of the item to be created
string   $args['dtype']   the data type of the item to be created
int   $args['length']   the length of the item to be created if dtype is string
string   $args['validation']   data validation string for the item
   $args  
[ Top ]



Profile_adminapi_deactivate [line 245]

bool Profile_adminapi_deactivate( $args, int $args['dudid'], int $args['weight'])

Deactivate a dynamic user data item



Tags:

return:  true on success, false on failure
author:  Mark West
todo:  remove weight; can be got from get API


Parameters

int   $args['dudid']   the id of the item to be updated
int   $args['weight']   the current weight of the item to be updated
   $args  
[ Top ]



Profile_adminapi_delete [line 76]

bool Profile_adminapi_delete( $args, int $args['dudid'])

Delete a dynamic user data item



Tags:

return:  true on success, false on failure
author:  Mark West


Parameters

int   $args['dudid']   ID of the item
   $args  
[ Top ]



Profile_adminapi_getlinks [line 326]

array Profile_adminapi_getlinks( )

get available admin panel links



Tags:

return:  array of admin links
author:  Mark West


[ Top ]



Profile_adminapi_getype [line 288]

array Profile_adminapi_getype( $args, int $args['proplabel'])

Get type and validation for a specific field



Tags:

return:  validation, false on failure
author:  FC
todo:  : cleanup


Parameters

int   $args['proplabel']   the proplabel of the item to be fetched
   $args  
[ Top ]



Profile_adminapi_update [line 128]

bool Profile_adminapi_update( $args, int $args['dudid'], string $args['label'], string $args['dtype'], int $args['length'], string $args['validation'])

Update a dynamic user data item



Tags:

return:  true on success, false on failure
author:  Mark West


Parameters

int   $args['dudid']   the id of the item to be updated
string   $args['label']   the name of the item to be updated
string   $args['dtype']   the data type of the item to be updated
int   $args['length']   the length of the item to be updated if dtype is string
string   $args['validation']   data validation string for the item
   $args  
[ Top ]


Packages:

Files:

Classes: