model/modx/sqlsrv/modformcustomizationprofile.class.php
- package
- modx
- subpackage
- sqlsrv
- Classes
- modFormCustomizationProfile_sqlsrv
Description
\modFormCustomizationProfile_sqlsrv
- Extends from
- \modFormCustomizationProfile
- package
- modx
- Methods
- _loadInstance
- listProfiles
Description
Extend to define a class with a native integer primary key field named id.
This is the basis for the entire xPDO object model, and can also be used by a class generator {@link xPDOGenerator}, ultimately allowing custom classes to be user-defined in a web interface and framework-generated at runtime.
Methods
_loadInstance
_loadInstance(
\xPDO $xpdo, string $className, \xPDOQuery|string $criteria, array $row
)
:
\xPDOObject
Custom instance from row loader that respects policy checking
{@inheritdoc}
Arguments
- $xpdo
- \xPDO
&$xpdo A valid xPDO instance. - $className
- string
Name of the class. - $criteria
- \xPDOQuerystring
A valid xPDOQuery instance or relation alias. - $row
- array
The associative array containing the instance data.
Output
- \xPDOObject
- A new xPDOObject derivative representing a data row.
Details
- visibility
- public
- final
- false
- static
- true
listProfiles
listProfiles(
$xpdo, $criteria
=
array, $sort
=
array, $limit
=
0, $offset
=
0
)
:
Arguments
- $xpdo
- $criteria
- $sort
- $limit
- $offset
Details
- visibility
- public
- final
- false
- static
- true