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

Class: DMySQLShellDependency

Source Location: /DataBase/SQLBases/MySQL/DMySQLShellDependency.php

Class Overview

DObject
   |
   --DMySQLShellDependency

MySQL shell dependency


Implements interfaces:

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 15]
MySQL shell dependency



[ Top ]


Class Methods


constructor __construct [line 21]

DMySQLShellDependency __construct( )

Constructor



Tags:

access:  public


Overrides DObject::__construct() (Constructor)

[ Top ]

method doCheckIsInTable [line 461]

boolean doCheckIsInTable( DTableShell &$shell, [string $key = ""], [string $value = ""], [string $extraWhereClause = ""], DTableShell $shell)

Cecks if pair $key $value is in table



Tags:

see:  doCheckIsInTable()
access:  public



Implementation of:
DSQLDependable::doCheckIsInTable()
Cecks if pair $key $value is in table

Parameters:

DTableShell   $shell  
string   $key  
string   $value  
string   $extraWhereClause  
DTableShell   &$shell  

[ Top ]

method doCheckUniques [line 369]

array
doCheckUniques( DTableShell &$shell, string $editIdentifier, $fieldTypes, $fields, DTableShell $shell)

Checks for unique fields



Tags:

return:  o boolean unique_check
  • array unique_doubles
see:  doCheckUniques()
access:  public



Implementation of:
DSQLDependable::doCheckUniques()
Checks for unique fields

Parameters:

DTableShell   $shell  
string   $editIdentifier  
array   $fieldTypes  
array   $fields  
DTableShell   &$shell  

[ Top ]

method doCount [line 91]

int doCount( DTableShell &$shell, [array $condition = ""], [ $params = null])

Gets count result query



Tags:

see:  doCount()
access:  public



Implementation of:
DSQLDependable::doCount()
Gets count result query

Parameters:

array   $condition   params
DTableShell   &$shell  
array   $params  

[ Top ]

method doDelete [line 223]

void doDelete( DTableShell &$shell, string $condition, [ $params = null], DTableShell $shell)

Deletes



Tags:

see:  doDelete()
access:  public



Implementation of:
DSQLDependable::doDelete()
Deletes

Parameters:

DTableShell   $shell  
string   $condition  
array   $params  
DTableShell   &$shell  

[ Top ]

method doInsert [line 114]

void doInsert( DTableShell &$shell, $arrayData, $fieldNames, string $oneKey, int $i, DTableShell $shell, array $fieldNamed)

Makes insert



Tags:

see:  doInsert()
access:  public



Implementation of:
DSQLDependable::doInsert()
Makes insert

Parameters:

DTableShell   $shell  
array   $arrayData  
array   $fieldNamed  
string   $oneKey  
int   $i  
DTableShell   &$shell  
array   $fieldNames  

[ Top ]

method doSearch [line 245]

array doSearch( DTableShell &$shell, [string $searchValue = null], [int $itemsPerPage = PHP_DDATABASE_DEFAULT_ITEMS_PER_PAGE], [int $currentPage = DTableShell::NO_PAGING], [mixed $orderBy = ""], [mixed $excludeFields = null], [pointer $where = ""], [ &$resultCount = 0], DTableShell $shell)

Makes search



Tags:

return:  of search result
see:  doSearch()
access:  public



Implementation of:
DSQLDependable::doSearch()
Makes search

Parameters:

DTableShell   $shell  
string   $searchValue  
int   $itemsPerPage  
int   $currentPage  
mixed   $orderBy   o string OrderFieldName ASC o array[0 => OrderFieldName, 1 => OrderDirection]
mixed   $excludeFields   string/array
pointer   $where   int $resultCount
DTableShell   &$shell  
   &$resultCount  

[ Top ]

method doSelect [line 39]

array doSelect( DTableShell &$shell, [string $conditions = null], [ $params = null], [int $page = DTableShell::NO_PAGING], [int $itemsPerPage = PHP_DDATABASE_DEFAULT_ITEMS_PER_PAGE], DTableShell $shell)

Gets select result



Tags:

return:  Data with structure
  • array tableData Data for results
  • int maxPages Max pages in paging mode
  • int conditionedCount Count in paging mode
see:  doSelect()
access:  public



Implementation of:
DSQLDependable::doSelect()
Gets select result

Parameters:

DTableShell   $shell  
string   $conditions  
array   $params  
int   $page  
int   $itemsPerPage  
DTableShell   &$shell  

[ Top ]

method doUpdate [line 162]

void doUpdate( DTableShell &$shell, $arrayData, $fieldNames, string $oneKey, int $i, [string $extraWhereClause = ""], DTableShell $shell)

Makes update



Tags:

see:  doUpdate()
access:  public



Implementation of:
DSQLDependable::doUpdate()
Makes update

Parameters:

DTableShell   $shell  
array   $arrayData  
array   $fieldNames  
string   $oneKey  
int   $i  
string   $extraWhereClause  
DTableShell   &$shell  

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:08:31 +0300 by phpDocumentor 1.4.3