PHP Classes

Packages of Arthur Borisow

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Arthur Borisow (3)  >  Mission progress status  >  Reputation  
Picture of Arthur Borisow
Name: Arthur Borisow <contact>
Classes: 3
Country: Ukraine Ukraine
Age: ???
All time rank: 162827 in Ukraine Ukraine
Week rank: 195 Up4 in Ukraine Ukraine Up
All time users: 1789
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Chain Query Builder  
Compose MySQL queries chaining functions
This class can be used to compose MySQL queries chaining functions that define query parameters.

It can create and compose the SQL statement of a query by performing chained calls to different functions of the class that take parameters to define different values of the queries.

The class provides functions for defining the type of query (SELECT, INSERT, UPDATE and DELETE), involved fields and field values, condition clauses, result grouping and ordering, and the result set row range.

1.1
added JOIN, LEFT JOIN, RIGHT JOIN, USING, ON
added IN to the where method as a valid operand
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 75% 58% - 66% - - 49% 2781
Month: Not yet rated by the users

  Files folder image reliq  
Compose relational queries programmatically
This package can compose relational queries programmatically in a similar way to Arel for Ruby.

There are several manager classes that can compose SELECT, INSERT, UPDATE and DELETE queries.

The manager classes have functions to define parameters the parameters of the queries like table names, field names and values, condition and limit clauses, etc..

The manager classes can assemble the queries from the specified parameters and return a resulting SQL string.
Not enough user ratings

  Files folder image Walker  
PHP Programming Innovation award nominee
November 2010
Number 6


Prize: One year subscription to the PDF edition of the JSMag magazine
Convert an array into hierarchic data
This class can be used to convert an array into hierarchic data.

It can traverse an array of elements which may be objects or arrays that have entries that define an identifier of the entry and the identifier of the parent entry.

The class calls a certain class function to process entries grouped by parent entry identifier.

That function returns a string that is concatenated to form the whole hierarchy string representation.

Sub-classes my redefine the entry processing function to generate a string in a hierarchic format.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 83% 75% - 75% - - 56% 1787
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z