public static function tableName(ActiveRecord $activeRecord)
    {
        $tableName = $activeRecord->tableName();
        if (substr($tableName, -2) == '}}') {
            return preg_replace('/{{(.+)}}/', '{{$1_' . self::$tableSuffix . '}}', $tableName);
        } else {
            return $tableName . '_' . self::$tableSuffix;
        }
    }
public static function tableName(ActiveRecord $activeRecord)
    {
        $tableName = $activeRecord->tableName();
        if (substr($tableName, -2) == '}}') {
            return preg_replace('/{{(.+)}}/', '{{$1_' . self::$tableSuffix . '}}', $tableName);
        } else {
            return $tableName . '_' . self::$tableSuffix;
        }
    }
public static function tableName ( ActiveRecord $ activeRecord ) { $ tableName = $ activeRecord -> tableName ( ) ; if ( substr ( $ tableName , - 2 ) == '}}' ) { return preg_replace ( '/{{(.+)}}/' , '{{$1_' . self :: $ tableSuffix . '}}' , $ tableName ) ; } else { return $ tableName . '_' . self :: $ tableSuffix ; } }
Get table name of SEO data table for ActiveRecord
@param ActiveRecord $activeRecord
@return string
Get table name of SEO data table for ActiveRecord