static array _addToSearch(
array
$list,
$fields
)
|
|
Updates the list of search fields to include the new fields
Parameters:
array |
$list: |
the list of fields as known to the search engine |
|
$fields: |
|
static string _adminEdit(
string
$html, object
$userobj, int
$i, string
$background, boolean
$current,
$fields
)
|
|
Displays the edit fields for user type objects
Parameters:
string |
$html: |
|
object |
$userobj: |
|
int |
$i: |
|
string |
$background: |
|
boolean |
$current: |
|
|
$fields: |
|
static type _adminNotice(
type
$tab, type
$subtab, type
$me
)
|
|
Notification of need to run setup
Parameters:
type |
$tab: |
|
type |
$subtab: |
|
type |
$me: |
|
static boolean _adminSave(
boolean
$updated, object
$userobj, int
$i, boolean
$alter,
$fields
)
|
|
Process the save of user object type elements
Parameters:
boolean |
$updated: |
|
object |
$userobj: |
|
int |
$i: |
|
boolean |
$alter: |
|
|
$fields: |
|
static array _getCustomData(
object
$obj, array
$fields
)
|
|
Returns an array with the content of the custom fields for the object
Parameters:
object |
$obj: |
|
array |
$fields: |
|
static string _mediaItemEdit(
string
$html, object
$object, int
$i,
$fields
)
|
|
Displays the edit fields for image and album objects
Parameters:
string |
$html: |
|
object |
$object: |
|
int |
$i: |
|
|
$fields: |
|
static void _mediaItemSave(
object
$object, int
$i,
$fields
)
|
|
Processes the save of image and album objects
Parameters:
object |
$object: |
|
int |
$i: |
|
|
$fields: |
|
static void _register(
$me,
$fields
)
|
|
registers filters for handling display and edit of objects as appropriate
Parameters:
static void _setCustomData(
$obj,
$values
)
|
|
Parameters:
static string _zenpageItemEdit(
string
$html, object
$object,
$fields
)
|
|
Displays the edit fields for zenpage objects
Parameters:
string |
$html: |
|
object |
$object: |
|
|
$fields: |
|
static string _zenpageItemSave(
string
$custom, object
$object,
$fields
)
|
|
Processes the save of zenpage objects
Parameters:
string |
$custom: |
|
object |
$object: |
|
|
$fields: |
|
void constructor(
$me, array
$newfields
)
|
|
This method establishes the current set of database fields. It will add the
fields to the database if they are not already present. Fields from previous constructor calls that are no longer in the list will be removed from the database (along with any data associated with them.)
Parameters: