Object::extraLabel PHP Method

extraLabel() public static method

public static extraLabel ( )
    public static function extraLabel()
    {
        return array('object_id' => t('Object'), 'object_author' => t('Object Author'), 'object_date' => t('Object Date'), 'object_date_gmt' => t('Object Date Gmt'), 'object_content' => t('Object Content'), 'object_title' => t('Object Title'), 'object_excerpt' => t('Object Excerpt'), 'object_status' => t('Object Status'), 'comment_status' => t('Comment Status'), 'object_password' => t('Object Password'), 'object_name' => t('Object Name'), 'object_modified' => t('Object Modified'), 'object_modified_gmt' => t('Object Modified Gmt'), 'object_content_filtered' => t('Object Content Filtered'), 'object_parent' => t('Object Parent'), 'guid' => t('Guid'), 'object_type' => t('Object Type'), 'comment_count' => t('Comment Count'), 'object_slug' => t('Object Slug'), 'object_description' => t('Object Description'), 'object_keywords' => t('Object Keywords'), 'lang' => t('Language'), 'object_author_name' => t('Object Author Name'), 'total_number_meta' => t('Total Number Meta'), 'total_number_resource' => t('Total Number Resource'), 'tags' => t('Tags'), 'object_view' => t('Object View'), 'like' => t('Like'), 'dislike' => t('Dislike'), 'rating_scores' => t('Rating Scores'), 'rating_average' => t('Rating Average'), 'layout' => t('Layout'), 'person' => t('Person'));
    }

Usage Example

Example #1
0
 /**
  * @return array customized attribute labels (name=>label)
  */
 public function attributeLabels()
 {
     return CMap::mergeArray(array(), Object::extraLabel());
 }
All Usage Examples Of Object::extraLabel