OTS_SQLField __construct(
string
$name, [string
$table = '']
)
|
|
Creates new field representation.
Creates new field representation.
Parameters:
|
string |
$name: |
Field name. |
|
string |
$table: |
Table name. |
API Tags:
Information Tags:
| Version: | 0.0.5 |
| Since: | 0.0.5 |
Returns field name.
Returns field name.
API Tags:
| Return: | Field name. |
| Access: | public |
Information Tags:
| Version: | 0.0.5 |
| Since: | 0.0.5 |
Returns table name.
Returns table name.
API Tags:
| Return: | Table name. |
| Access: | public |
Information Tags:
| Version: | 0.0.5 |
| Since: | 0.0.5 |
mixed __get(
string
$name
)
|
|
Magic PHP5 method.
Magic PHP5 method.
Parameters:
|
string |
$name: |
Property name. |
API Tags:
| Return: | Property value. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Version: | 0.0.5 |
| Throws: | OutOfBoundsException For non-supported properties. |
| Since: | 0.1.0 |
| Since: | 0.0.5 |
Returns string representation for WHERE clause.
Returns string representation for WHERE clause.
Returned string can be easily inserted into SQL query.
API Tags:
| Return: | String WHERE clause. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Version: | 0.0.5 |
| Since: | 0.0.5 |
| Since: | 0.1.0 |