VirtueMart  3.2.14.9808
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VmTableXarray Class Reference
Inheritance diagram for VmTableXarray:
Inheritance graph
[legend]
Collaboration diagram for VmTableXarray:
Collaboration graph
[legend]

Public Member Functions

 setSecondaryKey ($key, $keyForm=0)
 
 setOrderableFormname ($orderAbleFormName)
 
 move ($direction, $where='', $orderingkey=0)
 
 load ($oid=null, $overWriteLoadName=0, $andWhere=0, $tableJoins=array(), $joinKey=0)
 
 bind ($data, $ignore=array())
 
 store ($updateNulls=false)
 
 deleteRelation ()
 
- Public Member Functions inherited from VmTable
 __construct ($table, $key, &$db)
 
 getProperties ($public=true)
 
 getKeyName ($multiple=false)
 
 getDbo ()
 
 getError ()
 
 getErrors ()
 
 setPrimaryKey ($key, $keyForm=0)
 
 getPKey ()
 
 setObligatoryKeys ($key)
 
 setUniqueName ($name)
 
 setLoggable ()
 
 setTranslatable ($langFields)
 
 setLanguage ($tag)
 
 getTranslatableFields ()
 
 setLockable ()
 
 setOrderable ($key= 'ordering', $auto=true)
 
 setHashable ($key)
 
 setOmittedHashFields (array $fields)
 
 setSlug ($slugAutoName, $key= 'slug')
 
 setTableShortCut ($prefix)
 
 setRules ($input)
 
 getRules ()
 
 emptyCache ()
 
 setParameterable ($paramsFieldName, $varsToPushParam, $overwrite=false)
 
 bind ($src, $ignore=array())
 
 setCryptedFields ($fieldNames)
 
 getCryptedFields ()
 
 showFullColumns ($typeKey=0, $typeValue=0, $properties=true)
 
 loadFields ()
 
 loadFieldValues ($array=true)
 
 checkDataContainsTableFields ($from, $ignore=array())
 
 save ($src, $orderingFilter= '', $ignore= '')
 
 setLoggableFieldsForStore ()
 
 load ($oid=null, $overWriteLoadName=0, $andWhere=0, $tableJoins=array(), $joinKey=0)
 
 getLoaded ()
 
 encryptFields ()
 
 decryptFields ()
 
 store ($updateNulls=false)
 
 storeParams ()
 
 checkCreateUnique ($tbl_name, $name)
 
 setCheckVendorId ()
 
 hashEntry ($set=true)
 
 integrity ()
 
 check ()
 
 bindChecknStore (&$data, $preload=false, $langOnly=false)
 
 bindChecknStoreNoLang (&$data, $preload=false)
 
 fixOrdering ($where= '')
 
 move ($dirn, $where= '', $orderingkey=0)
 
 getNextOrder ($where= '', $orderingkey=0)
 
 reorder ($where= '', $orderingkey=0)
 
 checkout ($who, $oid=null)
 
 checkin ($oid=null)
 
 toggle ($field, $val=NULL)
 
 resetErrors ()
 
 delete ($oid=null, $where=0)
 
 isMysql51Plus ()
 
 getMysqlVersion ()
 
 checkAndDelete ($table, $whereField=0, $andWhere= '')
 
 _modifyColumn ($_act, $_col, $_type= '', $_col2= '')
 
 reset ()
 
 attachObserver (JObserverInterface $observer)
 
- Public Member Functions inherited from vObject
 __toString ()
 
 get ($prop, $def=null)
 
 set ($prop, $value=null)
 
 setProperties ($props)
 

Protected Member Functions

 array_msearch ($parents, $searched)
 
- Protected Member Functions inherited from VmTable
 _lock ()
 
 _unlock ()
 
 _getAssetName ()
 
 _getAssetTitle ()
 
 _getAssetParentId ($table=null, $id=null)
 

Protected Attributes

 $_autoOrdering = false
 
 $_orderable = false
 
 $_skey = ''
 
 $_skeyForm = ''
 
 $_pvalue = ''
 
- Protected Attributes inherited from VmTable
 $_tbl = ''
 
 $_tbl_lang = null
 
 $_tbl_key =''
 
 $_tbl_keys = ''
 
 $_pkey = ''
 
 $_pkeyForm = ''
 
 $_obkeys = array()
 
 $_unique = false
 
 $_unique_name = array()
 
 $_orderingKey = 'ordering'
 
 $_slugAutoName = ''
 
 $_slugName = ''
 
 $_db = false
 
 $_rules
 
 $_trackAssets = false
 
 $_locked = false
 
 $_loggable = false
 
 $_translatableFields = array()
 
 $_hashName = ''
 
 $_omittedHashFields = array()
 
 $_langTag = null
 
 $_updateNulls = false
 

Additional Inherited Members

- Static Public Member Functions inherited from VmTable
static getInstance ($type, $prefix= 'VmTable', $config=array())
 
static addIncludePath ($path=null)
 
static bindParameterableToSubField (&$obj, $varsToPush, $field='params')
 
static bindParameterable (&$obj, $xParams, $varsToPushParam)
 
static checkTableExists ($table)
 
static bindTo (&$obj, $src, $internals=false, $ignore=array())
 
 isCheckedOut ($with=0, $against=null)
 
- Public Attributes inherited from VmTable
 $_xParams = 0
 
 $_varsToPushParam = array()
 
 $_translatable = false
 
 $_cryptedFields = false
 
 $_ltmp = false
 
 $_loadedWithLangFallback = 0
 
 $_loaded = false
 
 $_tablePreFix = ''
 
- Static Protected Attributes inherited from VmTable
static $_cache = array()
 

Member Function Documentation

VmTableXarray::array_msearch (   $parents,
  $searched 
)
protected

Searches in an array of arrays to find a specific array we want

Author
George Kostopoulos
Parameters
sourcearray of arrays that we will search
thetarget array we want to find
VmTableXarray::bind (   $data,
  $ignore = array() 
)

This binds the data to this kind of table. You can set the used name of the form with $this->skeyForm;

Author
Max Milbers
Parameters
array$data
VmTableXarray::deleteRelation ( )
VmTableXarray::load (   $oid = null,
  $overWriteLoadName = 0,
  $andWhere = 0,
  $tableJoins = array(),
  $joinKey = 0 
)

Records in this table are arrays. Therefore we need to overload the load() function. TODO, this function is giving back the array, not the table, it is not working like the other table, so we should change that for the 2.2. at least.

Author
Max Milbers
Parameters
int$id
VmTableXarray::move (   $direction,
  $where = '',
  $orderingkey = 0 
)

swap the ordering of a record in the Xref tables

Parameters
$direction,1/-1The increment to reorder by
VmTableXarray::setOrderableFormname (   $orderAbleFormName)
VmTableXarray::setSecondaryKey (   $key,
  $keyForm = 0 
)
VmTableXarray::store (   $updateNulls = false)
Author
Max Milbers, George Kostopoulos
See also
libraries/joomla/database/JTablestore($updateNulls)

Member Data Documentation

VmTableXarray::$_autoOrdering = false
protected
VmTableXarray::$_orderable = false
protected
VmTableXarray::$_pvalue = ''
protected
VmTableXarray::$_skey = ''
protected
VmTableXarray::$_skeyForm = ''
protected

The documentation for this class was generated from the following file: