[ class tree: core ] [ index: core ] [ all elements ]

Class: fieldExtender

Source Location: /zp-extensions/common/fieldExtender.php

Class fieldExtender

Descendants
Child Class Description
userAddressFields

[ Top ]
Method Summary
static array   _addToSearch()   Updates the list of search fields to include the new fields
static string   _adminEdit()   Displays the edit fields for user type objects
static type   _adminNotice()   Notification of need to run setup
static boolean   _adminSave()   Process the save of user object type elements
static array   _getCustomData()   Returns an array with the content of the custom fields for the object
static string   _mediaItemEdit()   Displays the edit fields for image and album objects
static void   _mediaItemSave()   Processes the save of image and album objects
static void   _register()   registers filters for handling display and edit of objects as appropriate
static void   _setCustomData()  
static string   _zenpageItemEdit()   Displays the edit fields for zenpage objects
static string   _zenpageItemSave()   Processes the save of zenpage objects
void   constructor()   This method establishes the current set of database fields. It will add the

[ Top ]
Methods
static method _addToSearch  [line 96]

  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: 


[ Top ]
static method _adminEdit  [line 141]

  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: 


[ Top ]
static method _adminNotice  [line 305]

  static type _adminNotice( type $tab, type $subtab, type $me  )

Notification of need to run setup

Parameters:
type   $tab: 
type   $subtab: 
type   $me: 


[ Top ]
static method _adminSave  [line 114]

  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: 


[ Top ]
static method _getCustomData  [line 316]

  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: 


[ Top ]
static method _mediaItemEdit  [line 202]

  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: 


[ Top ]
static method _mediaItemSave  [line 182]

  static void _mediaItemSave( object $object, int $i, $fields  )

Processes the save of image and album objects

Parameters:
object   $object: 
int   $i: 
   $fields: 


[ Top ]
static method _register  [line 263]

  static void _register( $me, $fields  )

registers filters for handling display and edit of objects as appropriate

Parameters:
   $me: 
   $fields: 


[ Top ]
static method _setCustomData  [line 326]

  static void _setCustomData( $obj, $values  )

Parameters:
   $obj: 
   $values: 


[ Top ]
static method _zenpageItemEdit  [line 245]

  static string _zenpageItemEdit( string $html, object $object, $fields  )

Displays the edit fields for zenpage objects

Parameters:
string   $html: 
object   $object: 
   $fields: 


[ Top ]
static method _zenpageItemSave  [line 225]

  static string _zenpageItemSave( string $custom, object $object, $fields  )

Processes the save of zenpage objects

Parameters:
string   $custom: 
object   $object: 
   $fields: 


[ Top ]
constructor  [line 54]

  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:
array   $newfields: 
   $me: 


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:30 +0200 by phpDocumentor 1.4.3