Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • None
  • system
    • base
    • caching
    • console
    • db
      • ar
      • schema
    • validators
    • web
      • actions
      • auth
      • helpers
      • widgets
        • captcha
        • pagers
  • zii
    • widgets
      • grid

Classes

  • ActionFormModel
  • ArrayUtil
  • ArrayValidator
  • AssociatedMediaBehavior
  • AuxLib
  • Changelog
  • DetailView
  • EncryptUtilTmp
  • EventsWidgetFieldFormatter
  • FailedLogins
  • FieldFormatter
  • FieldFormatterBase
  • FieldInputRenderer
  • FileFieldBehavior
  • FiltersForm
  • FilterUtil
  • FineDiff
  • FineDiffCopyOp
  • FineDiffDeleteOp
  • FineDiffInsertOp
  • FineDiffOp
  • FineDiffOps
  • FineDiffReplaceOp
  • GlobalCSSFormModel
  • GlobalImportFormModel
  • GoogleAuthenticator
  • JSONFieldsBehavior
  • JSONResponse
  • MediaFieldFormatter
  • MediaSelector
  • MobileActiveRecordFieldFormatter
  • MobileActivityFeed
  • MobileChartDashboard
  • MobileFieldFormatter
  • MobileFieldInputRenderer
  • ModuleModelNameValidator
  • MultiChildNode
  • MultiTypeAutocomplete
  • PasswordUtil
  • ProductFeature
  • ProfileWidgetLayout
  • QueryParamGenerator
  • RecordLimitBehavior
  • RecordView
  • RecordViewWidgetLayout
  • RelationshipsGridModel
  • RelationshipsJoin
  • RepairUserDataCommand
  • RequestUtil
  • RequiredIfNotSetValidator
  • ResponseUtil
  • RunMigrationScriptCommand
  • ServiceWebFormDesigner
  • Settings
  • StringUtil
  • TestEmailAction
  • TestEmailActionForm
  • ThemeGenerator
  • TimerUtil
  • TopicsFieldFormatter
  • TopicsWidgetLayout
  • TransactionalViewFieldFormatter
  • UrlUtil
  • ValidLinkValidator
  • WebFormDesigner
  • WebLeadFormDesigner
  • X2ActiveRecordBehavior
  • X2ActiveRecordFieldFormatter
  • X2ButtonColumn
  • X2ConditionList
  • X2ConsoleCommand
  • X2ControllerBehavior
  • X2DataColumn
  • X2DuplicateBehavior
  • X2Flashes
  • X2GridViewFieldFormatter
  • X2IPAddress
  • X2LeadsDataColumn
  • X2MergeableBehavior
  • X2MessageSource
  • X2MobileControllerBehavior
  • X2MobileProfileControllerBehavior
  • X2MobileQuotesControllerBehavior
  • X2MobileSiteControllerBehavior
  • X2MobileTopicsControllerBehavior
  • X2ModelConversionBehavior
  • X2ModelConversionWidget
  • X2ModelForeignKeyValidator
  • X2ModelUniqueIndexValidator
  • X2NonWebUser
  • X2StaticDropdown
  • X2StaticField
  • X2StaticFieldsBehavior
  • X2UrlManager
  • X2Validator
  • X2WidgetBehavior

Interfaces

  • AdminOwnedCredentials

Exceptions

  • CampaignMailingException
  • CodeExchangeException
  • GetCredentialsException
  • NoRefreshTokenException
  • NoUserIdException
  • StringUtilException

Functions

  • checkCurrency
  • checkDNS
  • checkServerVar
  • checkTimezone
  • decodeQuotes
  • echoIcons
  • encodeQuotes
  • exceptionForError
  • getField
  • getLanguageName
  • getModuleTitle
  • handleReqError
  • handleReqException
  • installer_t
  • installer_tr
  • isAllowedDir
  • mediaMigrationRrmdir
  • migrateMediaDir
  • printGraph
  • printR
  • renderFields
  • reqShutdown
  • RIP
  • translateOptions
  • tryGetRemote
  • Overview
  • Package
  • Function
  • Tree
  1: <?php
  2: /*****************************************************************************************
  3:  * X2Engine Open Source Edition is a customer relationship management program developed by
  4:  * X2Engine, Inc. Copyright (C) 2011-2016 X2Engine Inc.
  5:  * 
  6:  * This program is free software; you can redistribute it and/or modify it under
  7:  * the terms of the GNU Affero General Public License version 3 as published by the
  8:  * Free Software Foundation with the addition of the following permission added
  9:  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 10:  * IN WHICH THE COPYRIGHT IS OWNED BY X2ENGINE, X2ENGINE DISCLAIMS THE WARRANTY
 11:  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 12:  * 
 13:  * This program is distributed in the hope that it will be useful, but WITHOUT
 14:  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 15:  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 16:  * details.
 17:  * 
 18:  * You should have received a copy of the GNU Affero General Public License along with
 19:  * this program; if not, see http://www.gnu.org/licenses or write to the Free
 20:  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 21:  * 02110-1301 USA.
 22:  * 
 23:  * You can contact X2Engine, Inc. P.O. Box 66752, Scotts Valley,
 24:  * California 95067, USA. or at email address contact@x2engine.com.
 25:  * 
 26:  * The interactive user interfaces in modified source and object code versions
 27:  * of this program must display Appropriate Legal Notices, as required under
 28:  * Section 5 of the GNU Affero General Public License version 3.
 29:  * 
 30:  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 31:  * these Appropriate Legal Notices must retain the display of the "Powered by
 32:  * X2Engine" logo. If the display of the logo is not reasonably feasible for
 33:  * technical reasons, the Appropriate Legal Notices must display the words
 34:  * "Powered by X2Engine".
 35:  *****************************************************************************************/
 36:  ?>
 37: 
 38: <?php
 39: $this->layout = '//layouts/column1';
 40: $this->pageTitle=Yii::app()->settings->appName . ' - ' . Yii::t('help','Icon Reference');
 41: 
 42: 
 43: $cssString = "
 44:     #icon-reference-title {
 45:         width: 1002px;
 46:         margin-right: 0;
 47:         padding: 0 0 0 0;
 48:     }
 49: 
 50:     div.icon-reference {
 51:         width: 1000px;
 52:         margin-left: 50px;
 53:         margin-right: 0;
 54:         padding: 0 0 0 0;
 55:     }
 56: 
 57:     div.icon-reference .section-title {
 58:         margin-left: 20px;
 59:         margin-top: 15px;
 60:     }
 61: 
 62:     div.icon-reference .cell {
 63:         margin-left: 20px;
 64:         margin-bottom: 10px;
 65:     }
 66:  
 67:     div.icon-reference .row {
 68:         width: 460px;
 69:         height: 60px;
 70:         line-height: 60px;
 71:         vertical-align: middle;
 72:     }
 73:  
 74:     div.icon-reference img {
 75:         vertical-align: middle;
 76:         display: inline-block;
 77:         /*margin-bottom: 20px;*/
 78:     }
 79: 
 80:     div.icon-reference .icon-container {
 81:         float: left;
 82:         height: 60px;
 83:         font-size: 30px;
 84:         color: #004baf; // darkBlue in colors.scss
 85:     }
 86:  
 87:     div.icon-reference .icon-description {
 88:         margin-left: 60px;
 89:         height: 60px;
 90:     }
 91: 
 92:     div.icon-reference .icon-description p {
 93:         vertical-align: middle;
 94:         margin: 0 0 0 0;
 95:         display: inline-block;
 96:         font-size: 12px;
 97:         font-family: Arial, Helvetica, sans-serif;
 98:         line-height: 14px;
 99:     }
100: 
101:     .img-box .stacked-icon {
102:         top: 32px;
103:     }
104: 
105:     .icon-reference .section-title {
106:         background: none;
107:     }
108: 
109: 
110: ";
111: 
112: Yii::app()->clientScript->registerCss ('icon-reference-css', $cssString);
113: 
114: 
115: ?>
116: 
117: <div id="icon-reference-title" class="page-title">
118:     <h2> <?php echo Yii::t('help', 'Icon Reference'); ?> </h2>
119: </div>
120: 
121: 
122: <div id="icon-reference-section-1" class="icon-reference form p-20">
123:     <h2 class="section-title"> 
124:         <?php echo Yii::t ('help', 'X2Engine Modules'); ?>
125:     </h2>
126:     <div class="column1 cell">
127:         <div class="row">
128:             <div class="icon-container">
129:                 <?php echo X2Html::fa('fa-building'); ?>
130:             </div>
131:             <div class="icon-description">
132:                 <p> <?php echo CHtml::link (Yii::t('accounts', 'Accounts'), array ('/accounts/accounts/index')); ?> </p>
133:             </div>
134:         </div>
135:         <div class="row">
136:             <div class="icon-container">
137:                 <?php echo X2Html::x2icon('activity') ?>
138:             </div>
139:             <div class="icon-description">
140:                 <p> <?php echo CHtml::link (Yii::t('app', 'Activity Feed'), array ('/profile/view', 'id' => Yii::app()->user->getId())); ?> </p>
141:             </div>
142:         </div>
143:         <div class="row">
144:             <div class="icon-container">
145:                 <?php echo X2Html::fa('fa-play-circle') ?>
146:             </div>
147:             <div class="icon-description">
148:                 <p> <?php echo CHtml::link (Yii::t('app', 'Actions'), array ('/actions/actions/index')); ?> </p>
149:             </div>
150:         </div>
151:         <div class="row">
152:             <div class="icon-container">
153:                 <?php echo X2Html::fa('fa-calendar-o') ?>
154:             </div>
155:             <div class="icon-description">
156:                 <p> <?php echo CHtml::link (Yii::t('calendar', 'Calendar'), array ('/calendar/calendar/index')); ?> </p>
157:             </div>
158:         </div>
159:         <div class="row">
160:             <div class="icon-container">
161:                 <?php echo X2Html::fa('fa-bar-chart') ?>
162:             </div>
163:             <div class="icon-description">
164:                 <p> <?php echo Yii::t('app', 'Charts'); ?> </p>
165:             </div>
166:         </div>
167:         <div class="row">
168:             <div class="icon-container">
169:                 <?php echo X2Html::x2icon('contact') ?>
170:             </div>
171:             <div class="icon-description">
172:                 <p> <?php echo CHtml::link (Yii::t('contacts', 'Contacts'), array ('/contacts/contacts/index')); ?> </p>
173:             </div>
174:         </div>
175:         <div class="row">
176:             <div class="icon-container">
177:                 <?php echo X2Html::fa('fa-file-o') ?>
178:             </div>
179:             <div class="icon-description">
180:                 <p> <?php echo CHtml::link (Yii::t('docs', 'Docs'), array ('/docs/docs/index')); ?> </p>
181:             </div>
182:         </div>
183:         <div class="row">
184:             <div class="icon-container">
185:                 <?php echo X2Html::fa('fa-users'); ?>
186:             </div>
187:             <div class="icon-description">
188:                 <p> <?php echo CHtml::link (Yii::t('app', 'Groups'), array ('/groups/groups/index')); ?> </p>
189:             </div>
190:         </div>
191:     </div>
192:     <div class="cell">
193:         <div class="row">
194:             <div class="icon-container">
195:                 <?php echo X2Html::fa('fa-music'); ?>
196:             </div>
197:             <div class="icon-description">
198:                 <p> <?php echo CHtml::link (Yii::t('app', 'Media'), array ('/media/media/index')); ?> </p>
199:             </div>
200:         </div>
201:         <div class="row">
202:             <div class="icon-container">
203:                 <?php echo X2Html::fa('fa-bullhorn') ?>
204:             </div>
205:             <div class="icon-description">
206:                 <p> <?php echo CHtml::link (Yii::t('app', 'Marketing'), array ('/marketing/marketing/index')); ?> </p>
207:             </div>
208:         </div>
209:         <div class="row">
210:             <div class="icon-container">
211:                 <?php echo X2Html::fa('fa-bullseye'); ?>
212:             </div>
213:             <div class="icon-description">
214:                 <p> <?php echo CHtml::link (Yii::t('opportunities', 'Opportunities'), array ('/opportunities/opportunities/index')); ?> </p>
215:             </div>
216:         </div>
217:         <div class="row">
218:             <div class="icon-container">
219:                 <?php echo X2Html::x2icon('package'); ?>
220:             </div>
221:             <div class="icon-description">
222:                 <p> <?php echo CHtml::link (Yii::t('products', 'Products'), array ('/products/products/index')); ?> </p>
223:             </div>
224:         </div>
225:         <div class="row">
226:             <div class="icon-container">
227:                 <?php echo X2Html::x2icon('quotes'); ?>
228:             </div>
229:             <div class="icon-description">
230:                 <p> <?php echo CHtml::link (Yii::t('quotes', 'Quotes'), array ('/quotes/quotes/index')); ?> </p>
231:             </div>
232:         </div>
233:         <div class="row">
234:             <div class="icon-container">
235:                 <?php echo X2Html::x2icon('service'); ?>
236:             </div>
237:             <div class="icon-description">
238:                 <p> <?php echo CHtml::link (Yii::t('help', 'Services'), array ('/services/services/index')); ?> </p>
239:             </div>
240:         </div>
241:         <div class="row">
242:             <div class="icon-container">
243:                 <?php echo X2Html::x2icon('funnel'); ?>
244:             </div>
245:             <div class="icon-description">
246:                 <p> <?php echo CHtml::link (Yii::t('workflow', 'Process'), array ('/workflow/workflow/index')); ?> </p>
247:             </div>
248:         </div>
249:     </div>
250: </div>
251: 
252: <?php 
253: Yii::app()->clientScript->registerCssFile (Yii::app()->theme->baseUrl.'/css/activityFeed.css');
254: 
255: /* The event icons are assigned in activityFeed.css, so this way reuses the assignments there */
256: 
257: $arr1 = array (
258:     'action_complete'    => 'Action Completed',
259:     'action_reminder'    => 'Action Reminder',
260:     'generic_calendar_event'     => 'Calendar Event',
261:     'doc_update'         => 'Document Updated',
262:     'email_from'         => 'Email Received',
263:     'email_sent'         => 'Email Sent',
264:     'record_create'      => 'Record Created',
265:     'record_deleted'     => 'Record Deleted',
266: );
267: 
268: 
269: $arr2 = array (
270:     'notif'              => 'Notification',
271:     'web_activity'       => 'Web Activity',
272:     'weblead_create'     => 'Web Lead Created',
273:     'case_escalated'     => 'Case Escalated',
274:     'email_opened'       => 'Email Opened',
275:     'workflow_revert'    => 'Workflow Reverted',
276:     'workflow_complete'  => 'Workflow Completed',
277:     'workflow_start'     => 'Workflow Started',
278: );
279: 
280: 
281: function echoIcons ($array) {
282:     foreach($array as $key => $value) {
283:         echo "<div class='row'>
284:             <div class='img-box $key'>
285:                 <div class='stacked-icon'></div>
286:             </div>
287:             <div class='icon-description'>
288:                 <p> 
289:                     ".Yii::t ('help', $value)."
290:                 </p>
291:             </div>
292:         </div>";
293:     }
294: }
295: ?>
296: 
297: 
298: <div id="activity-feed-container" class="icon-reference form p-20">
299:     <h2 class="section-title"> 
300:         <?php echo Yii::t ('help', 'Events'); ?>
301:     </h2>
302:     <div class="column1 cell">
303:         <?php echoIcons($arr1); ?>
304:     </div>
305:     <div class="cell">
306:         <?php echoIcons($arr2); ?>
307:     </div>
308: </div>
309: 
310: 
311: 
312: 
X2CRM Documentation API documentation generated by ApiGen 2.8.0