Classes summary
ActionFormModel |
Form model for publisher action form. Simplifies publisher form submission since
it allows all types to be treated the same. Also allows for additional
validation rules not applied to main action form. |
ArrayUtil |
Standalone class with miscellaneous array functions |
ArrayValidator |
Miscellaneous additions to CValidator including option to have errors reported
in the form of exceptions. Certain bad inputs will not occur during normal form
submission and indicate either a programming error a malicious request. In
either of these cases it makes sense to throw an exception instead of adding
errors to the model. |
AssociatedMediaBehavior |
Manages file upload for filename fields. If file fails to be saved, save/update
will be cancelled. |
AuxLib |
Standalone class with miscellaneous utility functions |
Changelog |
This is the model class for table "x2_changelog". |
DetailView |
Child Class of Record View to display a form with inline editing. |
EncryptUtilTmp |
Copy of Encrypt util with an irrelevant method removed |
EventsWidgetFieldFormatter |
Handles rendering of X2Model fields |
FailedLogins |
Model for x2_failed_logins table |
FieldFormatter |
Handles rendering of X2Model fields |
FieldFormatterBase |
Handles rendering of X2ActiveRecord fields |
FieldInputRenderer |
Allows behavior of X2Model::renderModelInput to be overridden. TODO: make this
class non-abstract and move X2Model::renderModelInput into here, splitting
rendering code into methods grouped by field type. |
FileFieldBehavior |
Manages file upload for filename fields. If file fails to be saved, save/update
will be cancelled. |
FiltersForm |
Filterform to use filters in combination with CArrayDataProvider and CGridView |
FilterUtil |
|
FineDiff |
FineDiff class |
FineDiffCopyOp |
Persisted opcodes (string) are a sequence of atomic opcode. A single opcode can
be one of the following: c | c{n} | d | d{n} | i:{c} | i{length}:{s} 'c' = copy
one character from source 'c{n}' = copy n characters from source 'd' = skip one
character from source 'd{n}' = skip n characters from source 'i:{c} = insert
character 'c' 'i{n}:{s}' = insert string s, which is of length n |
FineDiffDeleteOp |
Persisted opcodes (string) are a sequence of atomic opcode. A single opcode can
be one of the following: c | c{n} | d | d{n} | i:{c} | i{length}:{s} 'c' = copy
one character from source 'c{n}' = copy n characters from source 'd' = skip one
character from source 'd{n}' = skip n characters from source 'i:{c} = insert
character 'c' 'i{n}:{s}' = insert string s, which is of length n |
FineDiffInsertOp |
Persisted opcodes (string) are a sequence of atomic opcode. A single opcode can
be one of the following: c | c{n} | d | d{n} | i:{c} | i{length}:{s} 'c' = copy
one character from source 'c{n}' = copy n characters from source 'd' = skip one
character from source 'd{n}' = skip n characters from source 'i:{c} = insert
character 'c' 'i{n}:{s}' = insert string s, which is of length n |
FineDiffOp |
Persisted opcodes (string) are a sequence of atomic opcode. A single opcode can
be one of the following: c | c{n} | d | d{n} | i:{c} | i{length}:{s} 'c' = copy
one character from source 'c{n}' = copy n characters from source 'd' = skip one
character from source 'd{n}' = skip n characters from source 'i:{c} = insert
character 'c' 'i{n}:{s}' = insert string s, which is of length n |
FineDiffOps |
FineDiff ops |
FineDiffReplaceOp |
Persisted opcodes (string) are a sequence of atomic opcode. A single opcode can
be one of the following: c | c{n} | d | d{n} | i:{c} | i{length}:{s} 'c' = copy
one character from source 'c{n}' = copy n characters from source 'd' = skip one
character from source 'd{n}' = skip n characters from source 'i:{c} = insert
character 'c' 'i{n}:{s}' = insert string s, which is of length n |
GlobalCSSFormModel |
Used to validate/manage global css |
GlobalImportFormModel |
Used to validate global import form |
GoogleAuthenticator |
Wrapper class for interaction with Google's API and authentication methods. This
is designed to handle all user authentication and returning of Google API Client
classes in an easy to use manner. Much of the code is from Google's stock PHP
API examples, but it has been modified to be usable with our software and as
such some of the comments/classes are Google developers' not mine. |
JSONFieldsBehavior |
Enables automatic decoding/encoding of field values |
JSONResponse |
Class designed to provide uniform structure for JSON-encoded responses |
MediaFieldFormatter |
Handles rendering of X2Model fields |
MediaSelector |
Media Selector Widget. Pops up when the Media button is clicked on the CKEditor.
The button will lazily load this widget via site/mediaSelector and append it to
the dom with all JS. |
MobileActiveRecordFieldFormatter |
Handles rendering of X2ActiveRecord fields |
MobileActivityFeed |
|
MobileChartDashboard |
|
MobileFieldFormatter |
Handles rendering of X2Model fields |
MobileFieldInputRenderer |
Allows behavior of X2Model::renderModelInput to be overridden. TODO: make this
class non-abstract and move X2Model::renderModelInput into here, splitting
rendering code into methods grouped by field type. |
ModuleModelNameValidator |
Used to ensure that types are main models of visible and editable modules |
MultiChildNode |
Abstract base for nodes with multiple children (splitter and conditional) |
MultiTypeAutocomplete |
Renders a record type selector which refreshes an autocomplete input when
changed |
PasswordUtil |
|
ProductFeature |
Description of ProductFeature |
ProfileWidgetLayout |
Manages profile widget settings |
QueryParamGenerator |
Utility class for simplifying generation SQL parameters |
RecordLimitBehavior |
Deletes oldest records if count surpasses limit |
RecordView |
Abstract Class for rendering the Form view and Detail View Some things are
awkward from being retroactivly applied. STRUCTURE: With a given form layout: |
RecordViewWidgetLayout |
Manages record view widget settings |
RelationshipsGridModel |
Handles relationship grid attribute rendering and filtering |
RelationshipsJoin |
Generic active record class for relationships join tables |
RepairUserDataCommand |
Repair action/contact data corrupted by user deletion prior to version 4.1 |
RequestUtil |
Class to simplify web requests by abstracting creation of curl handles and
stream contexts |
RequiredIfNotSetValidator |
Miscellaneous additions to CValidator including option to have errors reported
in the form of exceptions. Certain bad inputs will not occur during normal form
submission and indicate either a programming error a malicious request. In
either of these cases it makes sense to throw an exception instead of adding
errors to the model. |
ResponseUtil |
Standalone environmentally-agnostic content/message feedback utility. |
RunMigrationScriptCommand |
|
ServiceWebFormDesigner |
Parent Widget class to handle the 3 different Webforms |
Settings |
Model class for Generic settings with structure defined in embedded model class |
StringUtil |
|
TestEmailAction |
Simulates campaign email delivery |
TestEmailActionForm |
Adds test campaign-specific fields to InlineEmail |
ThemeGenerator |
Class to generate a CSS files from profile settings, works as a templating
system. Templates files are .php files that return a string of css. The array
$colors will be sent to the files with generated keys based on $settingsList. |
TimerUtil |
|
TopicsFieldFormatter |
Handles rendering of X2Model fields |
TopicsWidgetLayout |
Manages record view widget settings |
TransactionalViewFieldFormatter |
Handles rendering of X2Model fields |
UrlUtil |
|
ValidLinkValidator |
|
WebFormDesigner |
Parent Widget class to handle the 3 different Webforms |
WebLeadFormDesigner |
Parent Widget class to handle the 3 different Webforms |
X2ActiveRecordBehavior |
Adds ability to specify validation rules for pseudo-properties |
X2ActiveRecordFieldFormatter |
Handles rendering of X2ActiveRecord fields |
X2ButtonColumn |
Display column for attributes of X2Model subclasses. |
X2ConditionList |
Generic condition list form which enables user specification of conditions on
model properties. User specified conditions can be retrieved through the
front-end X2ConditionList API (see X2ConditionList.js). |
X2ConsoleCommand |
|
X2ControllerBehavior |
Allows behavior to add actions and beforeAction handler to owner controller (see
X2Controller::getBehaviorActions() ) |
X2DataColumn |
Display column for attributes of X2Model subclasses. |
X2DuplicateBehavior |
Behavior to provide requisite methods for checking for potential duplicate
records. Currently only implemented in Contacts and Accounts. |
X2Flashes |
Used to collect error, notice, and success messages which can then be echoed
back to the client. This can be used in conjunction with the UI library
X2Flashes.js. |
X2GridViewFieldFormatter |
Handles rendering of X2Model fields |
X2IPAddress |
X2IPAddress helper component for useful IP address methods |
X2LeadsDataColumn |
Display column for attributes of X2Model subclasses. |
X2MergeableBehavior |
Behavior to define the set of methods necessary to merge two or more records
into a single record. Should always be implemented on records which have
X2DuplicateBehavior but is more general in its application. |
X2MessageSource |
This is a modified version of the default Yii class. The only change that has
been made is the inclusion of "common.php" as a shared source of translation
messages. Ctrl + F for "X2CHANGE" to find the exact location of this
customization. |
X2MobileControllerBehavior |
Allows behavior to add actions and beforeAction handler to owner controller (see
X2Controller::getBehaviorActions() ) |
X2MobileProfileControllerBehavior |
Allows behavior to add actions and beforeAction handler to owner controller (see
X2Controller::getBehaviorActions() ) |
X2MobileQuotesControllerBehavior |
Allows behavior to add actions and beforeAction handler to owner controller (see
X2Controller::getBehaviorActions() ) |
X2MobileSiteControllerBehavior |
Allows behavior to add actions and beforeAction handler to owner controller (see
X2Controller::getBehaviorActions() ) |
X2MobileTopicsControllerBehavior |
Allows behavior to add actions and beforeAction handler to owner controller (see
X2Controller::getBehaviorActions() ) |
X2ModelConversionBehavior |
Manages conversion between subclasses of X2Model |
X2ModelConversionWidget |
Widget for record conversion links which leverage X2ModelConversionBehavior.
Designed to have multiple instances on the same page (which is useful if links
for multiple conversion targets are needed). |
X2ModelForeignKeyValidator |
Miscellaneous additions to CValidator including option to have errors reported
in the form of exceptions. Certain bad inputs will not occur during normal form
submission and indicate either a programming error a malicious request. In
either of these cases it makes sense to throw an exception instead of adding
errors to the model. |
X2ModelUniqueIndexValidator |
Miscellaneous additions to CValidator including option to have errors reported
in the form of exceptions. Certain bad inputs will not occur during normal form
submission and indicate either a programming error a malicious request. In
either of these cases it makes sense to throw an exception instead of adding
errors to the model. |
X2NonWebUser |
User for console applications. |
X2StaticDropdown |
Behaves as stand in for Dropdowns class. $options can be set to a callable to
enable lazy loading. |
X2StaticField |
Behaves as stand in for Fields class |
X2StaticFieldsBehavior |
Allows fields to be defined in an array, instead of in the x2_fields table.
Enables use of features that have a Fields dependency, without having to
subclass X2Model or introduce unnecessary database interaction. |
X2UrlManager |
|
X2Validator |
Miscellaneous additions to CValidator including option to have errors reported
in the form of exceptions. Certain bad inputs will not occur during normal form
submission and indicate either a programming error a malicious request. In
either of these cases it makes sense to throw an exception instead of adding
errors to the model. |
X2WidgetBehavior |
Adds namespace mechanism, packages, and JS class instantiation to children of
CWidget |