本文整理汇总了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);
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}