當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Item::translatedAttributeLabels方法代碼示例

本文整理匯總了PHP中Item::translatedAttributeLabels方法的典型用法代碼示例。如果您正苦於以下問題:PHP Item::translatedAttributeLabels方法的具體用法?PHP Item::translatedAttributeLabels怎麽用?PHP Item::translatedAttributeLabels使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Item的用法示例。


在下文中一共展示了Item::translatedAttributeLabels方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: translatedAttributeLabels

 /**
  * @param $language
  * @return array
  */
 protected static function translatedAttributeLabels($language)
 {
     return parent::translatedAttributeLabels($language);
 }
開發者ID:maruthisivaprasad,項目名稱:zurmo,代碼行數:8,代碼來源:ContactWebFormEntry.php

示例2: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('name' => Zurmo::t('Core', 'Name', array(), null, $language), 'role' => Zurmo::t('ZurmoModule', 'Parent Role', array(), null, $language), 'roles' => Zurmo::t('ZurmoModule', 'Roles', array(), null, $language), 'users' => Zurmo::t('UsersModule', 'Users', array(), null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:InitialVersion,代碼行數:4,代碼來源:Role.php

示例3: translatedAttributeLabels

 /**
  * @return array
  */
 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     return array_merge(parent::translatedAttributeLabels($language), array('productTemplate' => Zurmo::t('ProductTemplatesModule', 'ProductTemplatesModuleSingularLabel', $params, null, $language), 'products' => Zurmo::t('ProductsModule', 'ProductsModulePluralLabel', $params, null, $language), 'sellPriceFormula' => Zurmo::t('ProductTemplatesModule', 'Sell Price Formula', array(), null, $language), 'productCategories' => ProductCategory::getModelLabelByTypeAndLanguage('Plural', $language), 'cost' => Zurmo::t('ProductTemplatesModule', 'Cost', array(), null, $language), 'listPrice' => Zurmo::t('ProductTemplatesModule', 'List Price', array(), null, $language), 'sellPrice' => Zurmo::t('ProductTemplatesModule', 'Sell Price', array(), null, $language), 'type' => Zurmo::t('ProductTemplatesModule', 'Type', array(), null, $language), 'status' => Zurmo::t('ProductTemplatesModule', 'Status', array(), null, $language)));
 }
開發者ID:youprofit,項目名稱:Zurmo,代碼行數:8,代碼來源:ProductTemplate.php

示例4: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     return array_merge(parent::translatedAttributeLabels($language), array('name' => Zurmo::t('DepartmentReferencesModule', 'Name', $params, null, $language), 'description' => Zurmo::t('DepartmentReferencesModule', 'Description', $params, null, $language), 'burdonCost' => Zurmo::t('DepartmentReferencesModule', 'Burdon Cost', $params, null, $language), 'laborCost' => Zurmo::t('DepartmentReferencesModule', 'Labor Cost', $params, null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:BaseVersion,代碼行數:5,代碼來源:DepartmentReference.php

示例5: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('name' => Zurmo::t('Core', 'Name', array(), null, $language), 'size' => Zurmo::t('Core', 'Size', array(), null, $language), 'type' => Zurmo::t('Core', 'Type', array(), null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:InitialVersion,代碼行數:4,代碼來源:FileModel.php

示例6: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     return array_merge(parent::translatedAttributeLabels($language), array('name' => Zurmo::t('OpportunityProductsModule', 'Product Name', $params, null, $language), 'Burden_Cost' => Zurmo::t('OpportunityProductsModule', 'Burden Cost', $params, null, $language), 'Category' => Zurmo::t('OpportunityProductsModule', 'Category', $params, null, $language), 'Category_GPM' => Zurmo::t('OpportunityProductsModule', 'Category GPM', $params, null, $language), 'Equipment_Cost' => Zurmo::t('OpportunityProductsModule', 'Equipment Cost', $params, null, $language), 'Final_Cost' => Zurmo::t('OpportunityProductsModule', 'Final Cost', $params, null, $language), 'Frequency' => Zurmo::t('OpportunityProductsModule', 'Frequency', $params, null, $language), 'Labor_Cost' => Zurmo::t('OpportunityProductsModule', 'Labor Cost', $params, null, $language), 'Materials_Cost' => Zurmo::t('OpportunityProductsModule', 'Materials Cost', $params, null, $language), 'Old_Auto_Number_Name' => Zurmo::t('OpportunityProductsModule', 'Old Auto Number Name', $params, null, $language), 'Old_Opportunity_ID' => Zurmo::t('OpportunityProductsModule', 'Old Auto Number Name', $params, null, $language), 'Old_Opportunity_Products_ID' => Zurmo::t('OpportunityProductsModule', 'Old Opportunity Products ID', $params, null, $language), 'Old_product_Id' => Zurmo::t('OpportunityProductsModule', 'Old Product ID', $params, null, $language), 'opportunity' => Zurmo::t('OpportunityProductsModule', 'Opportunity', $params, null, $language), 'Opportunity_Key' => Zurmo::t('OpportunityProductsModule', 'Opportunity Key', $params, null, $language), 'Other_Cost' => Zurmo::t('OpportunityProductsModule', 'Other Cost', $params, null, $language), 'costbook' => Zurmo::t('OpportunityProductsModule', 'Product', $params, null, $language), 'Product_Code' => Zurmo::t('OpportunityProductsModule', 'Product Code', $params, null, $language), 'Product_Cost_of_Goods_Sold' => Zurmo::t('OpportunityProductsModule', 'Product Cost of Goods Sold', $params, null, $language), 'Quantity' => Zurmo::t('OpportunityProductsModule', 'Quantity', $params, null, $language), 'Sub_Cost' => Zurmo::t('OpportunityProductsModule', 'Sub Cost', $params, null, $language), 'Total_Direct_Cost' => Zurmo::t('OpportunityProductsModule', 'Total Direct Cost', $params, null, $language), 'Total_MHR' => Zurmo::t('OpportunityProductsModule', 'Total MHR', $params, null, $language), 'ServiceDate' => Zurmo::t('OpportunityProductsModule', 'Service Date', $params, null, $language), 'Discount' => Zurmo::t('OpportunityProductsModule', 'Discount', $params, null, $language), 'Description' => Zurmo::t('OpportunityProductsModule', 'Description', $params, null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:BaseVersion,代碼行數:5,代碼來源:OpportunityProduct.php

示例7: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('description' => Zurmo::t('ZurmoModule', 'Description', array(), null, $language), 'files' => Zurmo::t('ZurmoModule', 'Files', array(), null, $language)));
 }
開發者ID:sandeep1027,項目名稱:zurmo_,代碼行數:4,代碼來源:Comment.php

示例8: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     return array_merge(parent::translatedAttributeLabels($language), array('account' => Zurmo::t('AccountsModule', 'AccountsModuleSingularLabel', $params, null, $language), 'contact' => Zurmo::t('ContactsModule', 'ContactsModuleSingularLabel', $params, null, $language), 'role' => Zurmo::t('ZurmoModule', 'Role', null, null, $language), 'primary' => Zurmo::t('AccountContactAffiliationsModule', 'Primary Relationship', null, null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:InitialVersion,代碼行數:5,代碼來源:AccountContactAffiliation.php

示例9: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('primaryAccount' => Zurmo::t('AccountAccountAffiliationsModule', 'Partner', null, null, $language), 'secondaryAccount' => Zurmo::t('ZurmoModule', 'Customer', null, null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:InitialVersion,代碼行數:4,代碼來源:AccountAccountAffiliation.php

示例10: translatedAttributeLabels

 /**
  * @return array
  */
 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('fromAddress' => Zurmo::t('EmailMessagesModule', 'From Address', array(), null, $language), 'fromName' => Zurmo::t('EmailMessagesModule', 'From Name', array(), null, $language), 'messages' => Zurmo::t('Core', 'Messages', array(), null, $language), 'name' => Zurmo::t('Core', 'Name', array(), null, $language), 'apiPassword' => Zurmo::t('SendGridModule', 'Api Password', array(), null, $language), 'apiUsername' => Zurmo::t('SendGridModule', 'Api Username', array(), null, $language), 'replyToAddress' => Zurmo::t('EmailMessagesModule', 'Reply To Address', array(), null, $language), 'user' => Zurmo::t('UsersModule', 'User', array(), null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:InitialVersion,代碼行數:7,代碼來源:SendGridEmailAccount.php

示例11: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     return array_merge(parent::translatedAttributeLabels($language), array('name' => Zurmo::t('UnitofmeasuresModule', 'Name', $params, null, $language), 'code' => Zurmo::t('UnitofmeasuresModule', 'Code', $params, null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:BaseVersion,代碼行數:5,代碼來源:Unitofmeasure.php

示例12: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('fromAddress' => Zurmo::t('EmailMessagesModule', 'From Address', array(), null, $language), 'fromName' => Zurmo::t('EmailMessagesModule', 'From Name', array(), null, $language), 'messages' => Zurmo::t('Core', 'Messages', array(), null, $language), 'name' => Zurmo::t('Core', 'Name', array(), null, $language), 'outboundHost' => Zurmo::t('EmailMessagesModule', 'Outbound Host', array(), null, $language), 'outboundPassword' => Zurmo::t('EmailMessagesModule', 'Outbound Password', array(), null, $language), 'outboundPort' => Zurmo::t('EmailMessagesModule', 'Outbound Port', array(), null, $language), 'outboundSecurity' => Zurmo::t('EmailMessagesModule', 'Outbound Security', array(), null, $language), 'outboundType' => Zurmo::t('EmailMessagesModule', 'Outbound Type', array(), null, $language), 'outboundUsername' => Zurmo::t('EmailMessagesModule', 'Outbound Username', array(), null, $language), 'replyToAddress' => Zurmo::t('EmailMessagesModule', 'Reply To Address', array(), null, $language), 'replyToName' => Zurmo::t('EmailMessagesModule', 'Reply To Name', array(), null, $language), 'useCustomOutboundSettings' => Zurmo::t('EmailMessagesModule', 'Use the following outbound settings', array(), null, $language), 'user' => Zurmo::t('UsersModule', 'User', array(), null, $language)));
 }
開發者ID:RamaKavanan,項目名稱:InitialVersion,代碼行數:4,代碼來源:EmailAccount.php

示例13: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('endDateTime' => Zurmo::t('ZurmoModule', 'End Date Time', array(), null, $language), 'isProcessed' => Zurmo::t('JobsManagerModule', 'Is Processed', array(), null, $language), 'message' => Zurmo::t('JobsManagerModule', 'Message', array(), null, $language), 'startDateTIme' => Zurmo::t('ZurmoModule', 'Start Date Time', array(), null, $language), 'status' => Zurmo::t('ZurmoModule', 'Status', array(), null, $language), 'type' => Zurmo::t('Core', 'Type', array(), null, $language)));
 }
開發者ID:maruthisivaprasad,項目名稱:zurmo,代碼行數:4,代碼來源:JobLog.php

示例14: translatedAttributeLabels

 protected static function translatedAttributeLabels($language)
 {
     $params = LabelUtil::getTranslationParamsForAllModules();
     return array_merge(parent::translatedAttributeLabels($language), array('name' => Zurmo::t('AnimalsModule', 'Name', $params, null, $language), 'description' => Zurmo::t('AnimalsModule', 'Description', $params, null, $language), 'checkBox' => Zurmo::t('AnimalsModule', 'Check Box', $params, null, $language), 'date' => Zurmo::t('AnimalsModule', 'Date', $params, null, $language), 'dateTime' => Zurmo::t('AnimalsModule', 'Date Time', $params, null, $language), 'decimal' => Zurmo::t('AnimalsModule', 'Decimal', $params, null, $language), 'integer' => Zurmo::t('AnimalsModule', 'Integer', $params, null, $language), 'phone' => Zurmo::t('AnimalsModule', 'Phone', $params, null, $language), 'text' => Zurmo::t('AnimalsModule', 'Text', $params, null, $language), 'textArea' => Zurmo::t('AnimalsModule', 'Text Area', $params, null, $language), 'url' => Zurmo::t('AnimalsModule', 'Url', $params, null, $language), 'type' => Zurmo::t('AnimalsModule', 'Type', $params, null, $language), 'currency' => Zurmo::t('AnimalsModule', 'Name', $params, null, $language), 'pickList' => Zurmo::t('AnimalsModule', 'Pick List', $params, null, $language), 'radioPickList' => Zurmo::t('AnimalsModule', 'Radio Pick List', $params, null, $language)));
 }
開發者ID:sandeep1027,項目名稱:zurmo_,代碼行數:5,代碼來源:Animal.php

示例15: translatedAttributeLabels

 /**
  * @return array
  */
 protected static function translatedAttributeLabels($language)
 {
     return array_merge(parent::translatedAttributeLabels($language), array('productCategory' => Zurmo::t('ProductTemplatesModule', 'Parent ' . self::getModelLabelByTypeAndLanguage('Singular', $language), array(), null, $language), 'productCategories' => self::getModelLabelByTypeAndLanguage('Plural', $language), 'productCatalogs' => ProductCatalog::getModelLabelByTypeAndLanguage('Plural', $language), 'products' => Zurmo::t('ProductsModule', 'ProductsModulePluralLabel', array(), null, $language), 'productTemplates' => Zurmo::t('ProductTemplatesModule', 'ProductTemplatesModulePluralLabel', array(), null, $language)));
 }
開發者ID:youprofit,項目名稱:Zurmo,代碼行數:7,代碼來源:ProductCategory.php


注:本文中的Item::translatedAttributeLabels方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。