示例#1
0
 public static function createItem($row)
 {
     $content = '';
     $content .= AuthItem::getCacheItem('name', $row);
     $content .= AuthItem::getCacheItem('type', $row, true);
     $content .= AuthItem::getCacheItem('description', $row);
     $content .= AuthItem::getCacheItemValue('rule_name', $row->ruleName);
     $content .= AuthItem::getCacheItem('data', $row);
     $content .= AuthItem::getCacheItemValue('created_at', $row->createdAt);
     $content .= AuthItem::getCacheItemValue('updated_at', $row->updatedAt);
     return $content;
 }