constructor __construct Constructor for the QueryRecord class.
QueryRecord
__construct
([array $paramarray = array()])
-
array
$paramarray: an associative array of initial field values.
Redefined in descendants as:
This is the public interface that deletes a record
void
delete
()
Redefined in descendants as:
function deleteRecord
Deletes a record based on the match array
boolean
deleteRecord
(string $table, array $updatekeyfields)
-
string
$table: Table to delete from
-
array
$updatekeyfields: An associative array of field data to match
Registers a (list of) fields(s) as being managed exclusively by the database.
void
exclude_fields
(mixed $fields)
-
mixed
$fields: A database field name (string) or an array of field names
Returns an array with the current field settings
array
get_url_args
()
Implementation of:
- URLProperties::get_url_args()
Redefined in descendants as:
This is the public interface that inserts a record
void
insert
()
Redefined in descendants as:
function insertRecord(
Inserts this record's fields as a new row
boolean
insertRecord
(string $table)
-
string
$table: Table to update
returns an array of fields that should not be included in any database insert operation
array
list_excluded_fields
()
function to_array
Returns an array with the current field settings
array
to_array
()
This is the public interface that updates a record
void
update
()
Redefined in descendants as:
function updateRecord
Updates this record's fields using the new data
boolean
updateRecord
(string $table, [array $updatekeyfields = array()])
-
string
$table: Table to update
-
array
$updatekeyfields: An associative array of field data to match
function __get
Handles getting virtual properties for this class
mixed
__get
(string $name)
-
string
$name: Name of the property
Redefined in descendants as:
Magic isset for QueryRecord, returns whether a property value is set.
boolean
__isset
(string $name)
-
string
$name: The name of the parameter
function __set
Handles setting virtual properties for this class
mixed
__set
(string $name, mixed $value)
-
string
$name: Name of the property
-
mixed
$value: Value to set it to
Redefined in descendants as: